From: Keir Fraser Subject: Re: [PATCH 1/1] Xen PV support for hugepages Date: Wed, 05 Nov 2008 10:59:43 +0000 Message-ID: References: <20081104154149.21144.75675.sendpatchset@magnum.int.mccr.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20081104154149.21144.75675.sendpatchset@magnum.int.mccr.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: dcm@mccr.org, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 4/11/08 15:41, "dcm@mccr.org" wrote: > This is the latest version of a patch that adds hugepage support to the Xen > hypervisor in a PV environment. It is against the latest xen-unstable tree > on xenbits.xensource.com. I believe this version addresses the comments > made about the previous version of the patch. > > Hugepage support must be enabled via the hypervisor command line option > "allowhugepage". > > It assumes the guest guarantees that the hugepage is physically aligned and > contiguous. > > There is currently no support in the tools for saving/restoring/migrating > guests who use hugepages. > > Note to the maintainers: What else needs to be done for this patch to be > considered for inclusion into the tree? I cleaned it up, fixed some return codes, and applied as c/s 18756. It may be worth Jan Beulich taking a quick look as the return-code conventions for the get/put functions in mm.c is now rather convoluted. I think I got it right but I'm not 100% sure. Indeed, Jan, it'd sure be nice to have some comments explaining what the <0,=0,>0 codes mean from the various get/put functions, and how they differ between the l1e variants and the others (I'm pretty sure they do differ). -- Keir