[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171213133554.hy3mocgbpu7rmh3m@hirez.programming.kicks-ass.net>
Date: Wed, 13 Dec 2017 14:35:54 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Wanpeng Li <kernellwp@...il.com>
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
Paolo Bonzini <pbonzini@...hat.com>,
Radim Krčmář <rkrcmar@...hat.com>,
Wanpeng Li <wanpeng.li@...mail.com>
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:
> + if (xchg(&vcpu->arch.st.steal.preempted, KVM_VCPU_NOT_PREEMPTED) ==
> + (KVM_VCPU_SHOULD_FLUSH | KVM_VCPU_PREEMPTED)) {
> + /*
> + * Do TLB_FLUSH before entering the guest, its passed
> + * the stage of request checking
> + */
> + kvm_vcpu_flush_tlb(vcpu, false);
> + }
And not a single word, _anywhere_ on why this doesn't need
invalidate_gpa or wtf that actually is.
Powered by blists - more mailing lists