| Subject | Re: [PATCH v3 31/37] KVM: x86/mmu: Add separate override for MMU sync during fast CR3 switch | From | Paolo Bonzini <> | Date | Tue, 24 Mar 2020 12:07:50 +0100 |
| |
On 20/03/20 22:28, Sean Christopherson wrote: > Add a separate "skip" override for MMU sync, a future change to avoid > TLB flushes on nested VMX transitions may need to sync the MMU even if > the TLB flush is unnecessary. > > Suggested-by: Paolo Bonzini <pbonzini@redhat.com> > Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
I added a WARN_ON(skip_tlb_flush && !skip_mmu_sync); which could help catching misordered parameters.
Paolo
|