aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorBen Gardon <[email protected]>2023-01-31 18:18:20 +0000
committerSean Christopherson <[email protected]>2023-06-01 14:03:19 -0700
commitdfa78a20cc879205b2c6239300dac09907ad3da1 (patch)
tree2f5a33805d75a385b9bc739a363ea166a9d05a3b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parentde10b798055db5df93474cdfa5dbffc57169f458 (diff)
KVM: selftests: Add dirty logging page splitting test
Add a test for page splitting during dirty logging and for hugepage recovery after dirty logging. Page splitting represents non-trivial behavior, which is complicated by MANUAL_PROTECT mode, which causes pages to be split on the first clear, instead of when dirty logging is enabled. Add a test which makes assertions about page counts to help define the expected behavior of page splitting and to provide needed coverage of the behavior. This also helps ensure that a failure in eager page splitting is not covered up by splitting in the vCPU path. Tested by running the test on an Intel Haswell machine w/wo MANUAL_PROTECT. Reviewed-by: Vipin Sharma <[email protected]> Signed-off-by: Ben Gardon <[email protected]> Link: https://lore.kernel.org/r/[email protected] [sean: let the user run without hugetlb, as suggested by Paolo] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions