Skip to content

Commit 14f0991

Browse files
Yisheng Xietorvalds
authored andcommitted
arm64 Kconfig: select gigantic page
Arm64 supports gigantic pages after commit 084bd29 ("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]>
1 parent 461a718 commit 14f0991

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ config ARM64
1111
select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
1212
select ARCH_HAS_ELF_RANDOMIZE
1313
select ARCH_HAS_GCOV_PROFILE_ALL
14+
select ARCH_HAS_GIGANTIC_PAGE
1415
select ARCH_HAS_KCOV
1516
select ARCH_HAS_SG_CHAIN
1617
select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST

0 commit comments

Comments
 (0)