Re: [PATCH 4/11] KVM/MMU: Introduce tlb flush with range list

2019-01-07 Thread Paolo Bonzini
On 04/01/19 09:53, lantianyu1...@gmail.com wrote: > struct kvm_mmu_page { > struct list_head link; > + > + /* > + * Tlb flush with range list uses struct kvm_mmu_page as list entry > + * and all list operations should be under protection of mmu_lock. > + */ > + struct

[PATCH 4/11] KVM/MMU: Introduce tlb flush with range list

2019-01-04 Thread lantianyu1986
From: Lan Tianyu This patch is to introduce tlb flush with range list interface and use struct kvm_mmu_page as list entry. Use flush list function in the kvm_mmu_commit_zap_page(). Signed-off-by: Lan Tianyu --- arch/x86/include/asm/kvm_host.h | 7 +++ arch/x86/kvm/mmu.c | 24