]> www.infradead.org Git - users/dwmw2/linux.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>
Wed, 2 Mar 2022 18:01:47 +0000 (13:01 -0500)
commit007da31e8a2be1102728b48f2175488a674ced6b
treead9f9a78d5f6e704256cbba6170afe9f6ccc02af
parent2ccc0bd9337d2bd3ffe2041e0b12372d4658af07
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