diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-09-01 20:00:30 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-09-11 20:26:10 -0700 |
commit | f8142cf94d4737ea0c3baffb3b9bad8addcb9b6b (patch) | |
tree | e7a8cb65c8b3bbace483c0cb23f01d7972e0849e /tools/testing | |
parent | 5e6b1bf1b5c3c8b72fa2eea9d8731d5c59773945 (diff) | |
download | linux-stable-f8142cf94d4737ea0c3baffb3b9bad8addcb9b6b.tar.gz linux-stable-f8142cf94d4737ea0c3baffb3b9bad8addcb9b6b.tar.bz2 linux-stable-f8142cf94d4737ea0c3baffb3b9bad8addcb9b6b.zip |
hugetlb: make hugetlb depends on SYSFS or SYSCTL
If CONFIG_SYSFS and CONFIG_SYSCTL are both undefined, hugetlb doesn't work
now as there's no way to set max huge pages. Make sure at least one of the
above configs is defined to make hugetlb works as expected.
Link: https://lkml.kernel.org/r/20220901120030.63318-11-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions