diff options
author | Kefeng Wang <[email protected]> | 2024-10-17 22:14:57 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-11-06 20:11:15 -0800 |
commit | 4a9a27fdf7bfd29013491aea45e3512988cc5876 (patch) | |
tree | b46c3ac6f26ae10a5aa1911cf6def1b74b510041 /tools/perf/scripts/python/syscall-counts.py | |
parent | 9884efd795cc2f71ef3b7f42df32420b0b7ce34f (diff) |
mm: shmem: remove __shmem_huge_global_enabled()
Remove __shmem_huge_global_enabled() since it as only one caller, and
remove repeated check of VM_NOHUGEPAGE/MMF_DISABLE_THP as they are checked
in shmem_allowable_huge_orders(), also remove unnecessary vma parameter.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kefeng Wang <[email protected]>
Reviewed-by: Baolin Wang <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Cc: Barry Song <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Ryan Roberts <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions