[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3bcfedac-3054-7d5e-24b6-5c98d8171514@redhat.com>
Date: Thu, 14 Feb 2019 17:40:20 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: lantianyu1986@...il.com
Cc: Lan Tianyu <Tianyu.Lan@...rosoft.com>, benh@...nel.crashing.org,
bp@...en8.de, catalin.marinas@....com, christoffer.dall@....com,
devel@...uxdriverproject.org, haiyangz@...rosoft.com,
hpa@...or.com, jhogan@...nel.org, kvmarm@...ts.cs.columbia.edu,
kvm-ppc@...r.kernel.org, kvm@...r.kernel.org, kys@...rosoft.com,
linux-arm-kernel@...ts.infradead.org, linux@...linux.org.uk,
linux-kernel@...r.kernel.org, linux-mips@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, marc.zyngier@....com,
mingo@...hat.com, mpe@...erman.id.au, paul.burton@...s.com,
paulus@...abs.org, ralf@...ux-mips.org, rkrcmar@...hat.com,
sashal@...nel.org, sthemmin@...rosoft.com, tglx@...utronix.de,
will.deacon@....com, x86@...nel.org,
michael.h.kelley@...rosoft.com, vkuznets@...hat.com
Subject: Re: [PATCH V2 00/10] X86/KVM/Hyper-V: Add HV ept tlb range list flush
support in KVM
On 02/02/19 02:38, lantianyu1986@...il.com wrote:
> From: Lan Tianyu <Tianyu.Lan@...rosoft.com>
>
> This patchset is to introduce hv ept tlb range list flush function
> support in the KVM MMU component. Flushing ept tlbs of several address
> range can be done via single hypercall and new list flush function is
> used in the kvm_mmu_commit_zap_page() and FNAME(sync_page). This patchset
> also adds more hv ept tlb range flush support in more KVM MMU function.
>
> Change since v1:
> 1) Make flush list as a hlist instead of list in order to
> keep struct kvm_mmu_page size.
> 2) Add last_level flag in the struct kvm_mmu_page instead
> of spte pointer
> 3) Move tlb flush from kvm_mmu_notifier_clear_flush_young() to kvm_age_hva()
> 4) Use range flush in the kvm_vm_ioctl_get/clear_dirty_log()
Looks good except for the confusion on sp->last_level (which was mostly
mine---sorry about that). I think it can still make 5.1.
However, note that I've never received "KVM/MMU: Use tlb range flush in
the kvm_age_hva()".
Paolo
Powered by blists - more mailing lists