[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] A tale of three memory allocators



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.