[PATCH 1/5] KVM: Move wiping of the kvm->vcpus array to common code

Paolo Bonzini pbonzini at redhat.com
Wed Nov 17 00:49:08 AEDT 2021


On 11/6/21 12:17, Marc Zyngier wrote:
> 
> If you too believe that this is just wrong, I'm happy to drop the
> locking altogether. If that breaks someone's flow, they'll shout soon
> enough.

Yes, it's not necessary.  It was added in 2009 (commit 988a2cae6a3c, 
"KVM: Use macro to iterate over vcpus.") and it was unnecessary back 
then too.

Paolo



More information about the Linuxppc-dev mailing list