aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorZhansaya Bagdauletkyzy <[email protected]>2021-09-02 15:00:45 -0700
committerLinus Torvalds <[email protected]>2021-09-03 09:58:18 -0700
commit39619982c5be6ed57390f17aabee6bc11e4af37e (patch)
treee102b59dc42a4811f7dc207e51284221b920689e /tools/perf/scripts/python/export-to-sqlite.py
parenta40c80e348fac4ecff8abcc3fae31e2e84c055d6 (diff)
selftests: vm: add KSM zero page merging test
Add check_ksm_zero_page_merge() function to test that empty pages are being handled properly. For this, several zero pages are allocated and merged using madvise. If use_zero_pages is enabled, the pages must be shared with the special kernel zero pages; otherwise, they are merged as usual duplicate pages. The test is run as follows: ./ksm_tests -Z Link: https://lkml.kernel.org/r/6d0caab00d4bdccf5e3791cb95cf6dfd5eb85e45.1626252248.git.zhansayabagdaulet@gmail.com Signed-off-by: Zhansaya Bagdauletkyzy <[email protected]> Reviewed-by: Pavel Tatashin <[email protected]> Reviewed-by: Tyler Hicks <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions