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

[Xen-devel] Re: [PATCH 2/6] Change the boot allocator function to suppor

To: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH 2/6] Change the boot allocator function to support memory add
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 29 Jun 2009 08:34:21 +0100
Cc:
Delivery-date: Mon, 29 Jun 2009 00:34:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E2263E4A5B2284449EEBD0AAB751098402CCF82712@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acn30qSePbAyG89HR16wSczYgDMjIQAAzbqgAAIDDVAABiKE1wAAItCgAAPeiX4AFBqxUAANSJ5p
Thread-topic: [PATCH 2/6] Change the boot allocator function to support memory add
User-agent: Microsoft-Entourage/12.19.0.090515
On 29/06/2009 03:04, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> wrote:

>> Actually it'd be nice to get rid of the allocator bitmap
>> altogether, since
> 
> I checked the code and seems the main caller is map_pages_to_xen(). So do you
> mean you will setup the frametable earlier, so that all page allocator will
> use the main allocator, even in map_pages_to_xen()?

I would have it go steal pages from boot_e820 directly I think.

> For memory add, it may be a bit different. The new pages should not be in main
> allocator before the m2p table is setup (in boot stage, the m2p will not be
> used till construct dom0, so it is ok) , also we may want to use the new
> memory as the page table when setup the m2p table.

Well, I assume you will code up something special for that. That seems to
have nothing to do with whether we keep the boot-time allocator, and
allocation bitmap, or not.

 -- Keir



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