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: Sun, 28 Jun 2009 10:50:24 +0100
Cc:
Delivery-date: Sun, 28 Jun 2009 02:50:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E2263E4A5B2284449EEBD0AAB751098402CCF824CF@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: Acn30qSePbAyG89HR16wSczYgDMjIQAAzbqg
Thread-topic: [PATCH 2/6] Change the boot allocator function to support memory add
User-agent: Microsoft-Entourage/12.19.0.090515
On 28/06/2009 10:27, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> wrote:

> This patch extend the boot allocator to support memory add.
> 
> We take different method for boot allocator bitmap for 32/64 system. In x32 ,
> we allocate 512K bitmap to support the whole 16G memory. In x86_64, we don't
> change the allocation when system bootup, instead, we try to remap the
> allocator bitmap to some pre-defined virtual address if hot-add happen.
> 
> We also add several API to allocate the handle boot page from some range.

The undelrying implementation ideas may be okay, but calling these
extensions to the 'boot allocator' makes no sense. The boot allocator only
exists during boot. The fact that the bitmap it uses persists beyond boot is
an implementation detail. Perhaps you just need to change the name of your
new allocator interface functions to something more suitable.

 -- Keir



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