KVM: selftest: Fix steal time w/ non-glibc builds
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 3 repliesIn review
Changes in v2 from the cover letter
- Rely on CPU affinity inheritance. [Sashiko]
- Add a patch to in to a random CPU instead of CPU0.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: selftests: Drop superfluous use of pthread_attr_setaffinity_np()tools/ | +5 | 1 reply | |
| 2/2 | KVM: selftests: Randomize pCPU in steal time testtools/ | +3 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] KVM: selftest: Fix steal time w/ non-glibc builds
Remove unnecessary usage of pthread_attr_setaffinity_np() in the steal time test so that it can build against non-glibc libraries, and opportunistically expand the test coverage by pinning the test threads to a random pCPU instead of hardcoding the pin to pCPU0.
v2:
- Rely on CPU affinity inheritance. [Sashiko]
- Add a patch to in to a random CPU instead of CPU0.
v1: https://lore.kernel.org/all/[email protected]
Sean Christopherson (2):
KVM: selftests: Drop superfluous use of pthread_attr_setaffinity_np()
KVM: selftests: Randomize pCPU in steal time test
tools/testing/selftests/kvm/steal_time.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-)
base-commit: a204badd8432f93b7e862e7dac6db0fe3d65f370
Signature · 1 line
2.55.0.rc2.803.g1fd1e6609c-goog