Message ID | 20240102131249.76622-6-gang.li@linux.dev (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | hugetlb: parallelize hugetlb page init on boot | expand |
On Tue, 2024-01-02 at 21:12 +0800, Gang Li wrote: > Now hugetlb uses padata_do_multithreaded for parallel initialization, > so select CONFIG_PADATA. Perhaps rephrase Allow hugetlb use padata_do_multithreaded for parallel initialization. Select CONFIG_PADATA in this case. > > Signed-off-by: Gang Li <gang.li@linux.dev> > --- > fs/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/fs/Kconfig b/fs/Kconfig > index 89fdbefd1075f..a57d6e6c41e6f 100644 > --- a/fs/Kconfig > +++ b/fs/Kconfig > @@ -262,6 +262,7 @@ menuconfig HUGETLBFS > depends on X86 || SPARC64 || ARCH_SUPPORTS_HUGETLBFS || BROKEN > depends on (SYSFS || SYSCTL) > select MEMFD_CREATE > + select PADATA > help > hugetlbfs is a filesystem backing for HugeTLB pages, based on > ramfs. For architectures that support it, say Y here and read
> On Jan 2, 2024, at 21:12, Gang Li <gang.li@linux.dev> wrote: > > Now hugetlb uses padata_do_multithreaded for parallel initialization, > so select CONFIG_PADATA. > > Signed-off-by: Gang Li <gang.li@linux.dev> Reviewed-by: Muchun Song <muchun.song@linux.dev>
diff --git a/fs/Kconfig b/fs/Kconfig index 89fdbefd1075f..a57d6e6c41e6f 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -262,6 +262,7 @@ menuconfig HUGETLBFS depends on X86 || SPARC64 || ARCH_SUPPORTS_HUGETLBFS || BROKEN depends on (SYSFS || SYSCTL) select MEMFD_CREATE + select PADATA help hugetlbfs is a filesystem backing for HugeTLB pages, based on ramfs. For architectures that support it, say Y here and read
Now hugetlb uses padata_do_multithreaded for parallel initialization, so select CONFIG_PADATA. Signed-off-by: Gang Li <gang.li@linux.dev> --- fs/Kconfig | 1 + 1 file changed, 1 insertion(+)