Re: [PATCH 6/11] KVM/MMU: Flush tlb with range list in sync_page()

2019-01-07 Thread Paolo Bonzini
On 04/01/19 17:30, Sean Christopherson wrote: >> + >> +if (kvm_available_flush_tlb_with_range() >> +&& (tmp_spte_ret & SET_SPTE_NEED_REMOTE_TLB_FLUSH)) { >> +struct kvm_mmu_page *leaf_sp = page_header(sp->spt[i] >> +

Re: [PATCH 6/11] KVM/MMU: Flush tlb with range list in sync_page()

2019-01-06 Thread Tianyu Lan
On Sat, Jan 5, 2019 at 12:30 AM Sean Christopherson wrote: > > On Fri, Jan 04, 2019 at 04:54:00PM +0800, lantianyu1...@gmail.com wrote: > > From: Lan Tianyu > > > > This patch is to flush tlb via flush list function. > > More explanation of why this is beneficial would be nice. Without the >

[PATCH 6/11] KVM/MMU: Flush tlb with range list in sync_page()

2019-01-04 Thread lantianyu1986
From: Lan Tianyu This patch is to flush tlb via flush list function. Signed-off-by: Lan Tianyu --- arch/x86/kvm/paging_tmpl.h | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h index