]> 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)
commitc4278ce28459047e644a7c09a85a8c3b5bf78a96
treec12a6366942db0885bdadf7245734c024b0ad1dd
parent30cd9dfe3d5876def4de33c2d3c8082384707b71
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