[PATCH] ppc64: Convert NUMA to sparsemem (3)
Mike Kravetz
kravetz at us.ibm.com
Fri Nov 11 14:49:17 EST 2005
On Fri, Nov 11, 2005 at 02:22:35PM +1100, Anton Blanchard wrote:
> Convert to sparsemem and remove all the discontigmem code in the
> process. This has a few advantages:
Great!!!
One thing I've never been sure about are these definitions in sparsemem.h.
/*
* SECTION_SIZE_BITS 2^N: how big each section will be
* MAX_PHYSADDR_BITS 2^N: how much physical address space we have
* MAX_PHYSMEM_BITS 2^N: how much memory we can have in that space
*/
#define SECTION_SIZE_BITS 24
#define MAX_PHYSADDR_BITS 38
#define MAX_PHYSMEM_BITS 36
Do you know if these are sufficient for all supported hardware today?
Thanks,
--
Mike
More information about the Linuxppc64-dev
mailing list