aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/test_util.c
diff options
context:
space:
mode:
authorBen Gardon <bgardon@google.com>2021-01-12 13:42:52 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-02-04 05:27:19 -0500
commit82f91337ddde22eaa2e9e0aca248f5e6f336fa91 (patch)
treef519e6acb0f99554fcf298039b8de9464ae45369 /tools/testing/selftests/kvm/lib/test_util.c
parentKVM: selftests: Fix population stage in dirty_log_perf_test (diff)
downloadlinux-82f91337ddde22eaa2e9e0aca248f5e6f336fa91.tar.gz
linux-82f91337ddde22eaa2e9e0aca248f5e6f336fa91.zip
KVM: selftests: Add option to overlap vCPU memory access
Add an option to overlap the ranges of memory each vCPU accesses instead of partitioning them. This option will increase the probability of multiple vCPUs faulting on the same page at the same time, and causing interesting races, if there are bugs in the page fault handler or elsewhere in the kernel. Reviewed-by: Jacob Xu <jacobhxu@google.com> Reviewed-by: Makarand Sonare <makarandsonare@google.com> Signed-off-by: Ben Gardon <bgardon@google.com> Message-Id: <20210112214253.463999-6-bgardon@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/test_util.c')
0 files changed, 0 insertions, 0 deletions