Re: [PATCH v8 4/4] KVM: X86: Add flush_on_enter before guest enter
From: Paolo Bonzini
Date: Wed Dec 13 2017 - 08:32:57 EST
On 13/12/2017 13:54, Peter Zijlstra wrote:
>> + ++vcpu->stat.tlb_flush;
>> + kvm_x86_ops->tlb_flush(vcpu, invalidate_gpa);
>
> WRT to PTI; how much does this actually invalidate? Does this invalidate
> the _entire_ guest TLB, or only the current guest PCID?
All the PCIDs.
Paolo