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

Re: [Xen-devel] [PATCH] Add support for superpages (hugepages) in PV dom

To: Dave McCracken <dcm@xxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Add support for superpages (hugepages) in PV domain
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Tue, 26 May 2009 16:51:14 +0100
Cc: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 26 May 2009 08:49:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200905220835.47364.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>
References: <200905220835.47364.dcm@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080505)
Unfortunately this patch forces user to specify superpages=? in their
config file.
Can we default the behaviour to superpages=0 instead?

Dave McCracken wrote:

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



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

<Prev in Thread] Current Thread [Next in Thread>