diff options
author | Zach O'Keefe <[email protected]> | 2022-12-24 00:20:35 -0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-01-11 16:14:20 -0800 |
commit | 3de0c269adc6c2fac0bb1fb11965f0de699dc32b (patch) | |
tree | 715e57e0e6d29364cbe42d2fb8817bcff5e971a0 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 52dc031088f00e323140ece4004e70c33153c6dd (diff) |
mm/shmem: restore SHMEM_HUGE_DENY precedence over MADV_COLLAPSE
SHMEM_HUGE_DENY is for emergency use by the admin, to disable allocation
of shmem huge pages if, for example, a dangerous bug is found in their
usage: see "deny" in Documentation/mm/transhuge.rst. An app using
madvise(,,MADV_COLLAPSE) should not be allowed to override it: restore its
precedence over shmem_huge_force.
Restore SHMEM_HUGE_DENY precedence over MADV_COLLAPSE.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 7c6c6cc4d3a2 ("mm/shmem: add flag to enforce shmem THP in hugepage_vma_check()")
Signed-off-by: Zach O'Keefe <[email protected]>
Suggested-by: Hugh Dickins <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Cc: Yang Shi <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions