Messages in this thread | | | Date | Wed, 13 Dec 2017 13:54:46 +0100 | From | Peter Zijlstra <> | Subject | Re: [PATCH v8 4/4] KVM: X86: Add flush_on_enter before guest enter |
| |
On Tue, Dec 12, 2017 at 05:33:04PM -0800, Wanpeng Li wrote: > +static void kvm_vcpu_flush_tlb(struct kvm_vcpu *vcpu, bool invalidate_gpa) > +{ > + ++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?
> +}
| |