Merge tag 'kvm-x86-generic-6.13' of https://github.com/kvm-x86/linux into HEAD
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Nov 2024 11:24:19 +0000 (06:24 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Nov 2024 11:24:19 +0000 (06:24 -0500)
commitb39d1578d504122527e88127fdafb6109c3916be
tree43e4e2b931cb161e2eeaa4ff47e1a89bb5e9f636
parent185e02d61e991bf51389d2ea1497f3b98d090b95
parent3e7f43188ee227bcf0f07f60a00f1fd1aca10e6a
Merge tag 'kvm-x86-generic-6.13' of https://github.com/kvm-x86/linux into HEAD

KVM generic changes for 6.13

 - Rework kvm_vcpu_on_spin() to use a single for-loop instead of making two
   partial poasses over "all" vCPUs.  Opportunistically expand the comment
   to better explain the motivation and logic.

 - Protect vcpu->pid accesses outside of vcpu->mutex with a rwlock instead
   of RCU, so that running a vCPU on a different task doesn't encounter
   long stalls due to having to wait for all CPUs become quiescent.
virt/kvm/kvm_main.c