Skip to contentSkip to conversation

arm64 Kconfig: select gigantic page

PATCH New [email protected] 1 participant 1 message Oct 8, 2016 arm64

lore
Share & tools
lore
#0 lore raw

PATCH 99/127 arm64 Kconfig: select gigantic page

From: Yisheng Xie <[email protected]>
Subject: arm64 Kconfig: select gigantic page

Arm64 supports gigantic page after 084bd29810a5 ("ARM64: mm: HugeTLB support.") however, it can only be allocated at boottime and can't be freed.

This patch selects ARCH_HAS_GIGANTIC_PAGE to make gigantic pages can be allocated and freed at runtime for arch arm64.

---

 arch/arm64/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm64/Kconfig renamed from arch/arm64/Kconfig~arm64-kconfig-select-gigantic-page +1 -0
diff -puN arch/arm64/Kconfig~arm64-kconfig-select-gigantic-page arch/arm64/Kconfig
@@ -11,6 +11,7 @@ config ARM64
 	select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
 	select ARCH_HAS_ELF_RANDOMIZE
 	select ARCH_HAS_GCOV_PROFILE_ALL
+	select ARCH_HAS_GIGANTIC_PAGE
 	select ARCH_HAS_KCOV
 	select ARCH_HAS_SG_CHAIN
 	select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST

_