summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStefan Roesch <shr@devkernel.io>2023-12-19 00:10:52 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-12-29 20:58:27 +0100
commit66790e9a735b5c42349c48881e496b6946a55c05 (patch)
tree1d2b5102c4d320a6418f00ed22e4653b110497ba /include
parentmm/ksm: add ksm advisor (diff)
downloadlinux-66790e9a735b5c42349c48881e496b6946a55c05.tar.xz
linux-66790e9a735b5c42349c48881e496b6946a55c05.zip
mm/ksm: add sysfs knobs for advisor
This adds four new knobs for the KSM advisor to influence its behaviour. The knobs are: - advisor_mode: none: no advisor (default) scan-time: scan time advisor - advisor_max_cpu: 70 (default, cpu usage percent) - advisor_min_pages_to_scan: 500 (default) - advisor_max_pages_to_scan: 30000 (default) - advisor_target_scan_time: 200 (default in seconds) The new values will take effect on the next scan round. Link: https://lkml.kernel.org/r/20231218231054.1625219-3-shr@devkernel.io Signed-off-by: Stefan Roesch <shr@devkernel.io> Acked-by: David Hildenbrand <david@redhat.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Rik van Riel <riel@surriel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions