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

[Xen-devel] Re: Should shadow_fault_fast_fail abort?

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: Should shadow_fault_fast_fail abort?
From: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
Date: Fri, 15 Dec 2006 09:27:45 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 15 Dec 2006 01:27:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061215044219.GA10612@xxxxxxxxxxxxxxxxxxx>
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: <20061215044219.GA10612@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
At 15:42 +1100 on 15 Dec (1166197339), Herbert Xu wrote:
> I noticed your recent patch turned off PFEC_reserved_bit in case
> another CPU had already modified a magic PTE.  It seems that it
> still leaves PFEC_page_present enabled.  This could confuse the
> guest if the PTE modification is such that the PTE is now present
> and valid.  In fact the guest may treat it as a protection fault.

It's just a spurious page fault -- the hardware is happy to throw these
at operating systems and so am I. :)  

> The safest solution is probably to just return EXCRET_fault_fixed
> and let the CPU figure it out.

That does seem cleaner.  Is this a problem you were seeing on a
particular system, or just a general improvement?

Cheers,

Tim.

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

<Prev in Thread] Current Thread [Next in Thread>