[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [PATCH xen-unstable] Remove PSE flag from guest CR4


  • To: Dave McCracken <dcm@xxxxxxxx>, Xen Developers List <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Aco1YKBQ0aiZw2DsSPyprbh7XZGoPgAAhK0W
  • Thread-topic: [PATCH xen-unstable] Remove PSE flag from guest CR4

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.