aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorYang Yang <[email protected]>2022-04-28 23:16:16 -0700
committerakpm <[email protected]>2022-04-28 23:16:16 -0700
commit94bfe85bde18a99612bb5d0ce348643c2d352836 (patch)
tree1090ea49642e829f743f4d020fb9ccb66065c36b /tools/perf/scripts/python/export-to-sqlite.py
parent7609385337a4feb6236e42dcd0df2185683ce839 (diff)
mm/vmstat: add events for ksm cow
Users may use ksm by calling madvise(, , MADV_MERGEABLE) when they want to save memory, it's a tradeoff by suffering delay on ksm cow. Users can get to know how much memory ksm saved by reading /sys/kernel/mm/ksm/pages_sharing, but they don't know what's the costs of ksm cow, and this is important of some delay sensitive tasks. So add ksm cow events to help users evaluate whether or how to use ksm. Also update Documentation/admin-guide/mm/ksm.rst with new added events. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Yang Yang <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Reviewed-by: xu xin <[email protected]> Reviewed-by: Ran Xiaokai <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Saravanan D <[email protected]> Cc: Minchan Kim <[email protected]> Cc: John Hubbard <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions