Re: linux-next: Tree for Jan 29 (fs/Kconfig: HUGETLBFS)

From: Randy Dunlap
Date: Mon Jan 29 2024 - 22:50:51 EST




On 1/28/24 19:30, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20240125:
>
> New trees: i2c-host-fixes, i2c-host
>

This

menuconfig HUGETLBFS
bool "HugeTLB file system support"
depends on X86 || SPARC64 || ARCH_SUPPORTS_HUGETLBFS || BROKEN
depends on (SYSFS || SYSCTL)
select MEMFD_CREATE
select PADATA

doesn't play nicely when CONFIG_SMP is not set, since PADATA depends on SMP.

This warning occurs on multiple arches:

WARNING: unmet direct dependencies detected for PADATA
Depends on [n]: SMP [=n]
Selected by [y]:
- HUGETLBFS [=y] && (X86 [=y] || SPARC64 || ARCH_SUPPORTS_HUGETLBFS [=n] || BROKEN [=n]) && (SYSFS [=y] || SYSCTL [=n])


--
#Randy