aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/hugetlbpage.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2020-06-03 16:00:30 -0700
committerLinus Torvalds <[email protected]>2020-06-03 20:09:46 -0700
commit71a2c112a0f6da497e1b44e18e97b1716c240518 (patch)
treeb63583bbd175c33167127a60f8cf7142b9eb6991 /arch/powerpc/mm/hugetlbpage.c
parent3917c80280c93a7123f1a3a6dcdb10a3ea19737d (diff)
khugepaged: introduce 'max_ptes_shared' tunable
'max_ptes_shared' specifies how many pages can be shared across multiple processes. Exceeding the number would block the collapse:: /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_shared A higher value may increase memory footprint for some workloads. By default, at least half of pages has to be not shared. [[email protected]: fix several spelling mistakes] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Kirill A. Shutemov <[email protected]> Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Tested-by: Zi Yan <[email protected]> Reviewed-by: William Kucharski <[email protected]> Reviewed-by: Zi Yan <[email protected]> Acked-by: Yang Shi <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: John Hubbard <[email protected]> Cc: Mike Kravetz <[email protected]> Cc: Ralph Campbell <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/powerpc/mm/hugetlbpage.c')
0 files changed, 0 insertions, 0 deletions