summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/memslot_modification_stress_test.c
diff options
context:
space:
mode:
authorColton Lewis <coltonlewis@google.com>2022-11-07 21:22:08 +0300
committerSean Christopherson <seanjc@google.com>2022-11-16 21:57:22 +0300
commitc967a4752ac66cc0ef8c0b1f4914151ca8758709 (patch)
tree623ba8abeeee88b27b7484ff7ab7fd349df4e948 /tools/testing/selftests/kvm/memslot_modification_stress_test.c
parent6864c6442f4dfa02c7cf48199cf3ea6bb1fe74ed (diff)
downloadlinux-c967a4752ac66cc0ef8c0b1f4914151ca8758709.tar.xz
KVM: selftests: randomize page access order
Create the ability to randomize page access order with the -a argument. This includes the possibility that the same pages may be hit multiple times during an iteration or not at all. Population has random access as false to ensure all pages will be touched by population and avoid page faults in late dirty memory that would pollute the test results. Signed-off-by: Colton Lewis <coltonlewis@google.com> Reviewed-by: David Matlack <dmatlack@google.com> Link: https://lore.kernel.org/r/20221107182208.479157-5-coltonlewis@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/testing/selftests/kvm/memslot_modification_stress_test.c')
0 files changed, 0 insertions, 0 deletions