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: __supported_pte_mask breaks PROT_NONE pages

To: "H. Peter Anvin" <hpa@xxxxxxxxx>
Subject: [Xen-devel] Re: __supported_pte_mask breaks PROT_NONE pages
From: Ingo Molnar <mingo@xxxxxxx>
Date: Thu, 5 Feb 2009 15:28:02 +0100
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>
Delivery-date: Thu, 05 Feb 2009 06:29:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <498A7BE3.40405@xxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <498A5002.9080408@xxxxxxxx> <498A7BE3.40405@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
* H. Peter Anvin <hpa@xxxxxxxxx> wrote:

> [Dropped wli from the Cc: list because holomorphy.com doesn't resolve]
> 
> Jeremy Fitzhardinge wrote:
> > 
> > I guess the best fix is to only apply __supported_pte_mask to present
> > ptes.  This seems like the right solution to me, as it means we can
> > completely ignore the issue of overlaps between the present pte bits and
> > the non-present pte-as-swap entry use of the bits.  (Patch below.)
> > 
> 
> It certainly looks reasonable, so I have applied this patch to
> tip:x86/urgent.  However, since I'm on the way out to FOSDEM I won't be
> able to run any tests on this.

Looks good here so i pushed it out into tip:master.

Thanks,

        Ingo

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