Re: [PATCH v2] properly reserve in bootmem the lmb reserved regions that cross NUMA nodes

2008-10-06 Thread Benjamin Herrenschmidt
Minor nits ... One is, you add this helper to mm/page_alloc.c, which means that I'll need some ack from Hugh or Andrew before I can merge that via the powerpc tree... Unless there's another user, I'd rather keep the helper function in powerpc code for now, it can be moved to common code later if s

[PATCH v2] properly reserve in bootmem the lmb reserved regions that cross NUMA nodes

2008-10-06 Thread Jon Tollefson
If there are multiple reserved memory blocks via lmb_reserve() that are contiguous addresses and on different NUMA nodes we are losing track of which address ranges to reserve in bootmem on which node. I discovered this when I only recently got to try 16GB huge pages on a system with more then