KVM: selftests: access_tracking_perf_test: Add option to skip the sanity check
authorMaxim Levitsky <mlevitsk@redhat.com>
Thu, 8 May 2025 18:46:43 +0000 (18:46 +0000)
committerSean Christopherson <seanjc@google.com>
Fri, 16 May 2025 18:45:12 +0000 (11:45 -0700)
commit26dcdfa01c33b4b52fd8bd3798dc221a9de7529c
treee52bb78065175b78ae4aa51f7c18d18b57cc3be6
parentd761c14d902e41c1e4c9b57f0e57593b7dfc56a9
KVM: selftests: access_tracking_perf_test: Add option to skip the sanity check

Add an option to skip sanity check of number of still idle pages,
and set it by default to skip, in case hypervisor or NUMA balancing
is detected.

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Co-developed-by: James Houghton <jthoughton@google.com>
Signed-off-by: James Houghton <jthoughton@google.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Link: https://lore.kernel.org/r/20250508184649.2576210-3-jthoughton@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/access_tracking_perf_test.c
tools/testing/selftests/kvm/include/test_util.h
tools/testing/selftests/kvm/lib/test_util.c