Skip to content

Commit 214496c

Browse files
rppttorvalds
authored andcommitted
ia64: make SPARSEMEM default and disable DISCONTIGMEM
SPARSEMEM memory model suitable for systems with large holes in their phyiscal memory layout. With SPARSEMEM_VMEMMAP enabled it provides pfn_to_page() and page_to_pfn() as fast as FLATMEM. Make it the default memory model for IA-64 and disable DISCONTIGMEM which is considered obsolete for quite some time. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Mike Rapoport <[email protected]> Cc: Alexey Dobriyan <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Greg Ungerer <[email protected]> Cc: John Paul Adrian Glaubitz <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Matt Turner <[email protected]> Cc: Meelis Roos <[email protected]> Cc: Michael Schmitz <[email protected]> Cc: Russell King <[email protected]> Cc: Tony Luck <[email protected]> Cc: Vineet Gupta <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent ea34f78 commit 214496c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/ia64/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ config ARCH_SELECT_MEMORY_MODEL
288288

289289
config ARCH_DISCONTIGMEM_ENABLE
290290
def_bool y
291+
depends on BROKEN
291292
help
292293
Say Y to support efficient handling of discontiguous physical memory,
293294
for architectures which are either NUMA (Non-Uniform Memory Access)
@@ -299,12 +300,11 @@ config ARCH_FLATMEM_ENABLE
299300

300301
config ARCH_SPARSEMEM_ENABLE
301302
def_bool y
302-
depends on ARCH_DISCONTIGMEM_ENABLE
303303
select SPARSEMEM_VMEMMAP_ENABLE
304304

305-
config ARCH_DISCONTIGMEM_DEFAULT
305+
config ARCH_SPARSEMEM_DEFAULT
306306
def_bool y
307-
depends on ARCH_DISCONTIGMEM_ENABLE
307+
depends on ARCH_SPARSEMEM_ENABLE
308308

309309
config NUMA
310310
bool "NUMA support"

0 commit comments

Comments
 (0)