]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: clean up posted interrupt descriptor try_cmpxchg
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jun 2022 15:45:45 +0000 (11:45 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jun 2022 15:45:45 +0000 (11:45 -0400)
commit1f25d70c2ed0a8aa4c7e69be2f9969e2500c8148
treed5d61b408c3ee92b86f0a59ded29d34941a3b151
parent1e7efbd98defb62f985aeae3065071b93a88b876
KVM: nVMX: clean up posted interrupt descriptor try_cmpxchg

Rely on try_cmpxchg64 for re-reading the PID on failure, using READ_ONCE
only right before the first iteration.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/posted_intr.c