diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-07-31 12:56:06 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-07-31 13:54:09 -0700 |
| commit | 563416ea9ae46739778e4c75b732b1827ca6019c (patch) | |
| tree | f98d855dc9fd836ec24e4f8032c370e403eb2352 /include/linux/workqueue_api.h | |
| parent | d58cc7bbc5a05d28942267785ee2fb79d8a96587 (diff) | |
KVM: selftests: Affine threads to random CPUs in hardware disable test
Affine the worker threads to random CPUs in the hardware disable test, and
honor the starting CPU set in the process. Hardcoding to CPUs 0-3 is both
wrong and less interesting than running on random CPUs.
Opportunistically convert the local 'i' to an int, as the macros it tests
against are signed, and using 'i' as an iterator is conventionally declared
as an int.
Link: https://patch.msgid.link/20260731195612.2697986-7-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
