aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <[email protected]>2022-04-28 23:16:11 -0700
committerakpm <[email protected]>2022-04-28 23:16:11 -0700
commit9f3265db6ae87de27a5e382410b8eb9af53b161e (patch)
treebdd1c2018c2e3a511cdb89c52a6ab749351e7197 /tools/perf/scripts/python/flamegraph.py
parent642bc52aed9c99e8c9c9cfb6781f77719717a36c (diff)
selftests: vm: add test for Soft-Dirty PTE bit
This introduces three tests: 1) Sanity check soft dirty basic semantics: allocate area, clean, dirty, check if the SD bit is flipped. 2) Check VMA reuse: validate the VM_SOFTDIRTY usage 3) Check soft-dirty on huge pages This was motivated by Will Deacon's fix commit 912efa17e512 ("mm: proc: Invalidate TLB after clearing soft-dirty page state"). I was tracking the same issue that he fixed, and this test would have caught it. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Gabriel Krisman Bertazi <[email protected]> Signed-off-by: Muhammad Usama Anjum <[email protected]> Co-developed-by: Muhammad Usama Anjum <[email protected]> Cc: Will Deacon <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions