diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-08-04 14:00:45 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-08-05 15:31:58 -0700 |
| commit | a53d1602e3bfe7baf63aaa28c1ffafb0c8db49ae (patch) | |
| tree | a1b15c43626850c1acc572e7683cac6eb7e75294 /include/linux/workqueue_api.h | |
| parent | 83b5065f3e1ca414b98fa6a6c1549e1c45dff99c (diff) | |
KVM: selftests: Test one random GP counter in PMU arch events testcase
To significantly reduce the PMU counter test's runtime, without sacrificing
test coverage in the aggregate, test a random GP counter in the arch events
testcase instead of testing every possible GP counter. Testing every PMC
in every run of the test significantly increases the runtime of the test,
without providing an equivalent increase in validation coverage, as the
odds of a KVM having a bug that only affected a subset of counters and only
when testing all other counters are extremely low.
Opportunistically clean up kvm_random_u64_in_range() to eliminate
unnecessary newlines.
Link: https://patch.msgid.link/20260804210046.3413149-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
