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: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH xen-unstable] Remove PSE flag from guest CR4
From: Dave McCracken <dcm@xxxxxxxx>
Date: Mon, 14 Sep 2009 12:53:38 -0500
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Xen Developers List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 14 Sep 2009 10:54:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C6D43F08.14B08%keir.fraser@xxxxxxxxxxxxx>
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: <C6D43F08.14B08%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.12.1 (Linux/2.6.28; KDE/4.3.1; x86_64; ; )
On Monday 14 September 2009, Keir Fraser wrote:
> If you hide PSE in CR4 and CPUID, how does the guest know it can use
> superpages?

Linux assumes it will just work.

Since hugepages in Linux are an optional feature the kernel will boot even on 
a machine that doesn't support PSE.  Applications that use hugepages will get 
a nasty error.

With the PSE bit set in CPUID Linux tries to do things like map the entire 
kernel in hugepages.

Dave McCracken

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