]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] sparsemem base: simple NUMA remap space allocator
authorDave Hansen <haveblue@us.ibm.com>
Thu, 23 Jun 2005 07:07:39 +0000 (00:07 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:01 +0000 (09:45 -0700)
commit6f167ec721108c9282d54424516a12c805e3c306
treef7094a2524611ede76b32e4cc3c07987b7b0e275
parentc2ebaa425e6630adcbf757b004d257dd4204925b
[PATCH] sparsemem base: simple NUMA remap space allocator

Introduce a simple allocator for the NUMA remap space.  This space is very
scarce, used for structures which are best allocated node local.

This mechanism is also used on non-NUMA ia64 systems with a vmem_map to keep
the pgdat->node_mem_map initialized in a consistent place for all
architectures.

Issues:
o alloc_remap takes a node_id where we might expect a pgdat which was intended
  to allow us to allocate the pgdat's using this mechanism; which we do not yet
  do.  Could have alloc_remap_node() and alloc_remap_nid() for this purpose.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/Kconfig
arch/i386/mm/discontig.c
include/linux/bootmem.h
mm/page_alloc.c