diff options
author | Muchun Song <songmuchun@bytedance.com> | 2022-06-09 18:40:32 +0800 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2022-07-14 13:13:49 -0700 |
commit | 43b5240ca6b33108998810593248186b1e3ae34a (patch) | |
tree | fd509652c4f0bbe63c31c0e5b1054f2afcea305f /kernel/stackleak.c | |
parent | f2906aa863381afb0015a9eb7fefad885d4e5a56 (diff) |
mm: sysctl: fix missing numa_stat when !CONFIG_HUGETLB_PAGE
"numa_stat" should not be included in the scope of CONFIG_HUGETLB_PAGE, if
CONFIG_HUGETLB_PAGE is not configured even if CONFIG_NUMA is configured,
"numa_stat" is missed form /proc. Move it out of CONFIG_HUGETLB_PAGE to
fix it.
Fixes: 4518085e127d ("mm, sysctl: make NUMA stats configurable")
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Cc: <stable@vger.kernel.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'kernel/stackleak.c')
0 files changed, 0 insertions, 0 deletions