aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGang Li <[email protected]>2024-02-22 22:04:19 +0800
committerAndrew Morton <[email protected]>2024-03-06 13:04:17 -0800
commit26d1dc6bb2305cd64dc0cd18e5773cbbcec41bb1 (patch)
tree51fe31e159ccb0f4b6a0690969269afa19ad6aad
parentbd5ed02e23958cb56d0f5a90ebe620c8b47dab47 (diff)
hugetlb: have CONFIG_HUGETLBFS select CONFIG_PADATA
Allow hugetlb use padata_do_multithreaded for parallel initialization. Select CONFIG_PADATA in this case. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Gang Li <[email protected]> Tested-by: David Rientjes <[email protected]> Reviewed-by: Muchun Song <[email protected]> Tested-by: Paul E. McKenney <[email protected]> Acked-by: Daniel Jordan <[email protected]> Cc: Alexey Dobriyan <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Jane Chu <[email protected]> Cc: Mike Kravetz <[email protected]> Cc: Randy Dunlap <[email protected]> Cc: Steffen Klassert <[email protected]> Cc: Tim Chen <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
-rw-r--r--fs/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig
index 713c8655fa0a..7963939592d7 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -261,6 +261,7 @@ menuconfig HUGETLBFS
depends on X86 || SPARC64 || ARCH_SUPPORTS_HUGETLBFS || BROKEN
depends on (SYSFS || SYSCTL)
select MEMFD_CREATE
+ select PADATA if SMP
help
hugetlbfs is a filesystem backing for HugeTLB pages, based on
ramfs. For architectures that support it, say Y here and read