From: Paolo Bonzini Subject: Re: [PATCH 11/11] KVM/MMU: Flush tlb in the kvm_age_rmapp() Date: Tue, 8 Jan 2019 12:52:25 +0100 Message-ID: References: <20190104085405.40356-1-Tianyu.Lan@microsoft.com> <20190104085405.40356-12-Tianyu.Lan@microsoft.com> <20190104161235.GB11288@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Sean Christopherson , Lan Tianyu , Radim Krcmar , Thomas Gleixner , Ingo Molnar , bp@alien8.de, "H. Peter Anvin" , the arch/x86 maintainers , kvm , "linux-kernel@vger kernel org" , michael.h.kelley@microsoft.com, kys@microsoft.com, vkuznets@redhat.com, linux@armlinux.org.uk To: Tianyu Lan Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 08/01/19 04:42, Tianyu Lan wrote: > From my understanding, this means to move the flush in the > kvm_mmu_notifier_clear_flush_young() > to kvm_age_hva() and do flush in kvm_age_hva() when young is >0 and "flush" > parameter is true, right? Yes. Paolo