diff options
author | Dave Hansen <haveblue@us.ibm.com> | 2005-06-23 03:07:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-23 12:45:01 -0400 |
commit | 6f167ec721108c9282d54424516a12c805e3c306 (patch) | |
tree | f7094a2524611ede76b32e4cc3c07987b7b0e275 /arch/i386/Kconfig | |
parent | c2ebaa425e6630adcbf757b004d257dd4204925b (diff) |
[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>
Diffstat (limited to 'arch/i386/Kconfig')
-rw-r--r-- | arch/i386/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index dfd904f6883..35ca3a17ed2 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig | |||
@@ -803,6 +803,11 @@ config NEED_NODE_MEMMAP_SIZE | |||
803 | depends on DISCONTIGMEM | 803 | depends on DISCONTIGMEM |
804 | default y | 804 | default y |
805 | 805 | ||
806 | config HAVE_ARCH_ALLOC_REMAP | ||
807 | bool | ||
808 | depends on NUMA | ||
809 | default y | ||
810 | |||
806 | config HIGHPTE | 811 | config HIGHPTE |
807 | bool "Allocate 3rd-level pagetables from highmem" | 812 | bool "Allocate 3rd-level pagetables from highmem" |
808 | depends on HIGHMEM4G || HIGHMEM64G | 813 | depends on HIGHMEM4G || HIGHMEM64G |