From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751811AbaCYD32 (ORCPT ); Mon, 24 Mar 2014 23:29:28 -0400 Received: from e28smtp08.in.ibm.com ([122.248.162.8]:52799 "EHLO e28smtp08.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751141AbaCYD30 (ORCPT ); Mon, 24 Mar 2014 23:29:26 -0400 Message-ID: <5330F82D.4070601@linux.vnet.ibm.com> Date: Tue, 25 Mar 2014 11:29:49 +0800 From: Xiao Guangrong User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: gleb@kernel.org CC: avi.kivity@gmail.com, mtosatti@redhat.com, pbonzini@redhat.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH v4 0/5] KVM: x86: flush tlb out of mmu-lock after write protection References: <1394460109-3150-1-git-send-email-xiaoguangrong@linux.vnet.ibm.com> In-Reply-To: <1394460109-3150-1-git-send-email-xiaoguangrong@linux.vnet.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14032503-2000-0000-0000-000010543051 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ping...... 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(-) >