aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYisheng Xie <[email protected]>2016-10-07 17:01:49 -0700
committerLinus Torvalds <[email protected]>2016-10-07 18:46:29 -0700
commit14f099107aacea5ffa77d4fd3be52671e3925b93 (patch)
tree86f2c828d134f160341aefdf3899cd8246873d48
parent461a7184320a1b4d2c12ad538354062fef4ee0f1 (diff)
arm64 Kconfig: select gigantic page
Arm64 supports gigantic pages after commit 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. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Yisheng Xie <[email protected]> Acked-by: Michal Hocko <[email protected]> Acked-by: Catalin Marinas <[email protected]> Acked-by: Hillf Danton <[email protected]> Cc: Hanjun Guo <[email protected]> Cc: Will Deacon <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Sudeep Holla <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Rob Herring <[email protected]> Cc: Mike Kravetz <[email protected]> Cc: Naoya Horiguchi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--arch/arm64/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 01600401a53e..c068aa689563 100644
--- a/arch/arm64/Kconfig
+++ b/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