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] Design question for PV superpage support

To: Dave McCracken <dcm@xxxxxxxx>
Subject: Re: [Xen-devel] Design question for PV superpage support
From: Mick Jordan <Mick.Jordan@xxxxxxx>
Date: Mon, 02 Mar 2009 09:45:06 -0800
Cc: Xen Developers List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 02 Mar 2009 09:45:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49AC0C96.7070608@xxxxxxx>
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: <200903020754.23534.dcm@xxxxxxxx> <49AC0C96.7070608@xxxxxxx>
Reply-to: Mick.Jordan@xxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (X11/20080807)
On 03/02/09 08:43, Mick Jordan wrote:
On 03/02/09 05:54, Dave McCracken wrote:
The solution I am working on for how to support Linux hugepages (Xen superpages) involves creating domains made up entirely of superpages. I can create a working domain with superpages and am in the process of supporting it in save/restore.

I'm assuming that this means that everything is upgraded from 4K to 2MB. E.g. pfn 0 = 0, pfn 1 = 2MB., etc., and the mfn<->pfn maps also.
This wouldn't work too well for me in the case of thread stacks because we need to map out parts of the stack and, although we want large virtual stacks, we don't want do dedicate that much physical memory. Is it really difficult to support mixed pages sizes in the general case, e.g., save/restore etc.?
Save/restore is definitely important for me and we do support it at present. I'm wondering if I might be able to "reapply" my 2MB mappings after a restore on a 4K system, given that these are just layered on a 1-1 mapping between physical/virtual for all allocated memory.

Mick


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

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