diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 2b0dd68f1c6bbc4bf4a68caae8feeb335301c35e..c17672cceb0363cb2eb13acdec80662192db85e0 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -184,6 +184,7 @@ config ARM64 select HAVE_KPROBES select HAVE_KRETPROBES select HAVE_GENERIC_VDSO + select HOLES_IN_ZONE select IOMMU_DMA if IOMMU_SUPPORT select IRQ_DOMAIN select IRQ_FORCED_THREADING @@ -1039,9 +1040,6 @@ config NEED_PER_CPU_EMBED_FIRST_CHUNK def_bool y depends on NUMA -config HOLES_IN_ZONE - def_bool y - source "kernel/Kconfig.hz" config ARCH_SUPPORTS_DEBUG_PAGEALLOC diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 39b25a5a591b309bc213ba04e7a2f54145f03d27..cc0d4ce7a04551eb940873a1297d591a70c2f918 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig @@ -330,6 +330,7 @@ config NODES_SHIFT config VIRTUAL_MEM_MAP bool "Virtual mem map" depends on !SPARSEMEM + select HOLES_IN_ZONE default y help Say Y to compile the kernel with support for a virtual mem map. @@ -338,10 +339,6 @@ config VIRTUAL_MEM_MAP require the DISCONTIGMEM option for your machine. If you are unsure, say Y. -config HOLES_IN_ZONE - bool - default y if VIRTUAL_MEM_MAP - config HAVE_ARCH_EARLY_PFN_TO_NID def_bool NUMA && SPARSEMEM diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 1917ccd3925640cf569e7d06cf4e033ff36df3a1..7e6b0168f9a542cbee1c63bdc22f3b2d878723c7 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -1193,9 +1193,6 @@ config HAVE_PLAT_MEMCPY config ISA_DMA_API bool -config HOLES_IN_ZONE - bool - config SYS_SUPPORTS_RELOCATABLE bool help diff --git a/mm/Kconfig b/mm/Kconfig index 390165ffbb0fc2395a7460836eea971e0c0176f3..9d606d258ab42cdf4ff00e6bc6831acba3e6cd78 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -129,6 +129,9 @@ config HAVE_FAST_GUP depends on MMU bool +config HOLES_IN_ZONE + bool + # Don't discard allocated memory used to track "memory" and "reserved" memblocks # after early boot, so it can still be used to test for validity of memory. # Also, memblocks are updated with memory hot(un)plug.