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: [PATCH xen-unstable] Remove PSE flag from guest CR4

To: Dave McCracken <dcm@xxxxxxxx>, Xen Developers List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH xen-unstable] Remove PSE flag from guest CR4
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 14 Sep 2009 18:42:16 +0100
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Delivery-date: Mon, 14 Sep 2009 10:43:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200909141227.16852.dcm@xxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aco1YKBQ0aiZw2DsSPyprbh7XZGoPgAAhK0W
Thread-topic: [PATCH xen-unstable] Remove PSE flag from guest CR4
User-agent: Microsoft-Entourage/12.20.0.090605
If you hide PSE in CR4 and CPUID, how does the guest know it can use
superpages?

 -- Keir

On 14/09/2009 18:27, "Dave McCracken" <dcm@xxxxxxxx> wrote:

> 
> When I originally did the Xen hypervisor hugepage patch I also allowed guests
> to see the PSE flag in CR4.  This has proven to be a mistake.  Here is a patch
> to remove that functionality.
> 
> All Linux kernels will still allow userspace hugepages without the flag.
> 
> Dave McCracken



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