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

[Xen-devel] [PATCH] Add support for superpages (hugepages) in PV domain


  • To: "Xen Development List" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Dave McCracken <dcm@xxxxxxxx>
  • Date: Fri, 22 May 2009 08:35:46 -0500
  • Delivery-date: Fri, 22 May 2009 06:36:24 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

This patch adds the option "superpages" to the domain configuration file.  If 
it is set, the domain is populated using 2M pages.

This code does not support fallback to small pages.  If the domain can not be 
created with 2M pages, the  create will fail.

The patch also includes support for saving and restoring domains with the 
superpage flag set.  However, if a domain has freed small pages within its 
physical page array and then extended the array, the restore will fill in 
those freed pages.  It will then attempt to allocate more than its memory 
limit and will fail.  This is significant because apparently Linux does this 
during boot, thus a freshly booted Linux image can not be saved and restored 
successfully.

Dave McCracken
Oracle Corp.

Attachment: xen-hpage-090520-1.patch
Description: Text document

_______________________________________________
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®.