250ce1b4d2
It is cheap to take tdp_mmu_pages_lock in all write-side critical sections. We already do it all the time when zapping with read_lock(), so it is not a problem to do it from the kvm_tdp_mmu_zap_all() path (aka kvm_arch_flush_shadow_all(), aka VM destruction and MMU notifier release). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Link: https://lore.kernel.org/r/20231125083400.1399197-4-pbonzini@redhat.com Signed-off-by: Sean Christopherson <seanjc@google.com> |
||
---|---|---|
.. | ||
arm | ||
devices | ||
s390 | ||
x86 | ||
api.rst | ||
halt-polling.rst | ||
index.rst | ||
locking.rst | ||
ppc-pv.rst | ||
review-checklist.rst | ||
vcpu-requests.rst |