]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Do remote TLB flush before dropping RCU in TDP MMU resched
authorSean Christopherson <seanjc@google.com>
Sat, 26 Feb 2022 00:15:36 +0000 (00:15 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 Mar 2022 14:31:56 +0000 (09:31 -0500)
commit4d17483745cf3e419404deb443fe5bd90b2c8f36
treec12a6366942db0885bdadf7245734c024b0ad1dd
parent340052296c0b97853e8a0e1e60b76333fa033843
KVM: x86/mmu: Do remote TLB flush before dropping RCU in TDP MMU resched

When yielding in the TDP MMU iterator, service any pending TLB flush
before dropping RCU protections in anticipation of using the caller's RCU
"lock" as a proxy for vCPUs in the guest.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Ben Gardon <bgardon@google.com>
Message-Id: <20220226001546.360188-19-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/tdp_mmu.c