diff options
author | Christoph Lameter <clameter@sgi.com> | 2007-10-16 04:24:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:42:51 -0400 |
commit | ef229c5a5e7701ab08a6a06258f415b150348bcc (patch) | |
tree | 606a128b3408ca39b95e1bdd93ad17dd2a9d9f33 /arch/ia64/Kconfig | |
parent | 0889eba5b38f66d7d892a167d88284daddd3d43b (diff) |
IA64: SPARSEMEM_VMEMMAP 16K page size support
Equip IA64 sparsemem with a virtual memmap. This is similar to the existing
CONFIG_VIRTUAL_MEM_MAP functionality for DISCONTIGMEM. It uses a PAGE_SIZE
mapping.
This is provided as a minimally intrusive solution. We split the 128TB
VMALLOC area into two 64TB areas and use one for the virtual memmap.
This should replace CONFIG_VIRTUAL_MEM_MAP long term.
[apw@shadowen.org: convert to new helper based initialisation]
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ia64/Kconfig')
-rw-r--r-- | arch/ia64/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 2e6310b8eab7..802b082e216d 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -348,6 +348,7 @@ config ARCH_FLATMEM_ENABLE | |||
348 | config ARCH_SPARSEMEM_ENABLE | 348 | config ARCH_SPARSEMEM_ENABLE |
349 | def_bool y | 349 | def_bool y |
350 | depends on ARCH_DISCONTIGMEM_ENABLE | 350 | depends on ARCH_DISCONTIGMEM_ENABLE |
351 | select SPARSEMEM_VMEMMAP_ENABLE | ||
351 | 352 | ||
352 | config ARCH_DISCONTIGMEM_DEFAULT | 353 | config ARCH_DISCONTIGMEM_DEFAULT |
353 | def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB) | 354 | def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB) |