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 0/2] Add hugetlb support for PV

To: Jan Beulich <jbeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0/2] Add hugetlb support for PV
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Thu, 24 Jul 2008 07:50:10 -0700
Cc: Dave McCracken <dcm@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 24 Jul 2008 07:50:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4888AC8E.76E4.0078.0@xxxxxxxxxx>
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: <200807240845.08753.dcm@xxxxxxxx> <4888AC8E.76E4.0078.0@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080501)
Jan Beulich wrote:
Dave McCracken <dcm@xxxxxxxx> 24.07.08 15:45 >>>
Here is a set of small patches that enables hugetlb on PV machines. They are against xen-unstable and linux-2.6.18-xen.

The patches are specifically for x86_64.

I originally had these patches working back in May, but recently for some reason my machine now refuses to boot the baseline xen-unstable, so I've been unable to verify them. However, they should still work.

Comments, bug reports,  and suggestions are welcome.

I must be missing something, but I can't see how you guarantee the
super pages to be contiguous in machine memory. And even if you did,
the hypervisor would still need to do accounting on all the 4k portions
a super page consists of when it gets mapped/unmapped.

Yeah, I'm pretty sure there has to be a lot more to it than that.

   J


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