Re: [PATCH v2 0/2] KVM: selftest: Fix steal time w/ non-glibc builds
From: Sean Christopherson
Date: Tue Jul 14 2026 - 15:40:57 EST
On Tue, 07 Jul 2026 08:07:04 -0700, Sean Christopherson wrote:
> 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.
>
> [...]
Applied to kvm-x86 selftests, thanks!
[1/2] KVM: selftests: Drop superfluous use of pthread_attr_setaffinity_np()
https://github.com/kvm-x86/linux/commit/3f339b70bb59
[2/2] KVM: selftests: Randomize pCPU in steal time test
https://github.com/kvm-x86/linux/commit/2351e814e1e1
--
https://github.com/kvm-x86/linux/tree/next