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] A tale of three memory allocators

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] A tale of three memory allocators
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Fri, 18 Mar 2005 14:24:19 -0600
Cc: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>, "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Delivery-date: Fri, 18 Mar 2005 20:26:55 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <516F50407E01324991DD6D07B0531AD52A2DC2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <516F50407E01324991DD6D07B0531AD52A2DC2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.7.2
On Friday 18 March 2005 14:11, Magenheimer, Dan (HP Labs Fort Collins) wrote:
> I'm less concerned about NUMA configurations... I agree that
> NUMA support could be added later.  My first concern would
> be discontiguous memory as, on ia64, it is not uncommon
> for a machine to have a physical memory map of something like:
>
> 0GB-1GB
> 2GB-4GB
> 64GB-69GB
> Total  8GB
>
> How does the Rusty Russell allocator handle a map like this?

xmalloc.c calls alloc_xenheap_pages() as needed.

So call page_alloc.c's init_boot_pages() repeatedly (as is done already for 
x86), passing it the memory ranges you do have, and xmalloc will use only 
that memory.

-- 
Hollis Blanchard
IBM Linux Technology Center


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel