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: "Dave McCracken" <dcm@xxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0/2] Add hugetlb support for PV
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Thu, 24 Jul 2008 15:23:42 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 24 Jul 2008 07:23:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200807240845.08753.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: <200807240845.08753.dcm@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> 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.

Jan


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