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] One question on alloc_bitmap

To: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] One question on alloc_bitmap
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 18 Sep 2008 16:20:52 +0100
Cc:
Delivery-date: Thu, 18 Sep 2008 08:21:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E2263E4A5B2284449EEBD0AAB751098401ABC43C56@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: AckZoXZSoSkDATtZRuySnrsjCVd9SAAAKy0v
Thread-topic: [Xen-devel] One question on alloc_bitmap
User-agent: Microsoft-Entourage/11.4.0.080122
On 18/9/08 16:16, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> wrote:

> I have a question to the alloc_bitmap. Currently it is allocated in
> init_page_allocator() and is continous physical memory mapped in direct map
> (1:1 map) range. Would it be possible to support un-continous like what's done
> for frame table?
> Several reason I can think out that can be improved is: a) if memory sparsed
> arranged, like large hole in the memory, it may cost some memory b) if we want
> to support memory hot add, we can't increase this bitmap. c) this map is not
> NUMA aware, I'm not sure if it has any performance impact, although it is not
> accessed frequently.
> 
> Any idea on it?

Yes, it could be sparsely allocated in future. No reason why not.

 -- Keir



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