WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] write page table in user mode

To: "Michael A Fetterman" <Michael.Fetterman@xxxxxxxxxxxx>, "Tim Deegan" <Tim.Deegan@xxxxxxxxxx>
Subject: RE: [Xen-devel] write page table in user mode
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Mon, 4 Feb 2008 21:37:55 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Su, Disheng" <disheng.su@xxxxxxxxx>
Delivery-date: Mon, 04 Feb 2008 05:38:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <122c8cf10802040402g5373f3dem371f3964cd085b11@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <D470B4E54465E3469E2ABBC5AFAC390F024D8F35@xxxxxxxxxxxxxxxxxxxxxxxxxxxx><C3CA4388.1332B%Keir.Fraser@xxxxxxxxxxxx><20080204110034.GA15990@xxxxxxxxxxxxxxxxxxxxx> <122c8cf10802040402g5373f3dem371f3964cd085b11@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchnJee4xRH4zU31QAG718dxbuOPlwADJBNw
Thread-topic: [Xen-devel] write page table in user mode
>From: Michael A Fetterman
>Sent: 2008年2月4日 20:02
>
>> > > It's said to be a forward progress issue, that 
>instruction page of faulting
>> > > IP falls into mapped virtual range by same L1 as the 
>target frame it tries
>> > > to update. So the implication is that the unshadow unfortunately
>> > > succeeds.
>>
>> Do you mean that the guest instruction stream is changing 
>the VM mapping
>> of the page under %eip, from user-space?  Wow.
>
>When I first read Kevin's description, I took it to mean that 
>the same L1 *page*
>(not entry) was mapping the current EIP and the target of the 
>write.  If this is
>case, then the current code's prefetching of L1 entries on the 
>same page is
>probably interacting with the user-space write heuristic, causing the
>shadow->unshadow->shadow livelock, making for a much easier fix.
>

Yes, same L1 page. Sorry for confusion. It may be some map-cache-
like usage within same 4M virtual range including code itself. But
I'm not clear about what you mean as a 'much easier' fix. Could you
elaborate?

Thanks,
Kevin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel