Re: [PATCH v4 0/5] KVM: x86: flush tlb out of mmu-lock after write protection

From: Paolo Bonzini
Date: Tue Mar 25 2014 - 06:22:34 EST


Il 25/03/2014 04:29, Xiao Guangrong ha scritto:
Ping......

Hi Xiao, I'll look at these patches soon. I plan to merge them for 3.16.

Paolo

On 03/10/2014 10:01 PM, Xiao Guangrong wrote:
This patchset is splited from my previous patchset:
[PATCH v3 00/15] KVM: MMU: locklessly write-protect
that can be found at:
https://lkml.org/lkml/2013/10/23/265

Changelog v4 :
- add more comments for patch 5 and thank for Marcelo's review

Xiao Guangrong (5):
Revert "KVM: Simplify kvm->tlbs_dirty handling"
KVM: MMU: properly check last spte in fast_page_fault()
KVM: MMU: lazily drop large spte
KVM: MMU: flush tlb if the spte can be locklessly modified
KVM: MMU: flush tlb out of mmu lock when write-protect the sptes

arch/x86/kvm/mmu.c | 72 ++++++++++++++++++++++++++++++----------------
arch/x86/kvm/mmu.h | 14 +++++++++
arch/x86/kvm/paging_tmpl.h | 7 ++---
arch/x86/kvm/x86.c | 20 ++++++++++---
include/linux/kvm_host.h | 4 +--
virt/kvm/kvm_main.c | 5 +++-
6 files changed, 85 insertions(+), 37 deletions(-)



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/