All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] KVM: selftest: Fix steal time w/ non-glibc builds
@ 2026-07-07 15:07 Sean Christopherson
  2026-07-07 15:07 ` [PATCH v2 1/2] KVM: selftests: Drop superfluous use of pthread_attr_setaffinity_np() Sean Christopherson
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Sean Christopherson @ 2026-07-07 15:07 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: kvm, linux-kernel, Hisam Mehboob, Aqib Faruqui,
	Sean Christopherson

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/20260706163649.155548-1-hisamshar@gmail.com


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
-- 
2.55.0.rc2.803.g1fd1e6609c-goog


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-07-14 19:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-07 15:07 [PATCH v2 0/2] KVM: selftest: Fix steal time w/ non-glibc builds Sean Christopherson
2026-07-07 15:07 ` [PATCH v2 1/2] KVM: selftests: Drop superfluous use of pthread_attr_setaffinity_np() Sean Christopherson
2026-07-07 15:21   ` sashiko-bot
2026-07-07 16:03     ` Sean Christopherson
2026-07-07 15:07 ` [PATCH v2 2/2] KVM: selftests: Randomize pCPU in steal time test Sean Christopherson
2026-07-07 15:29   ` sashiko-bot
2026-07-07 16:15     ` Sean Christopherson
2026-07-14 18:41 ` [PATCH v2 0/2] KVM: selftest: Fix steal time w/ non-glibc builds Sean Christopherson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.