From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH 7/8] KVM: MMU: remove the redundant get_written_sptes Date: Mon, 9 Jan 2012 09:33:54 -0200 Message-ID: <20120109113354.GC5255@amt.cnet> References: <4EEB19AF.5070501@linux.vnet.ibm.com> <4EEB1AE2.1000300@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , LKML , KVM To: Xiao Guangrong Return-path: Content-Disposition: inline In-Reply-To: <4EEB1AE2.1000300@linux.vnet.ibm.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Fri, Dec 16, 2011 at 06:18:10PM +0800, Xiao Guangrong wrote: > get_written_sptes is called twice in kvm_mmu_pte_write, one of them can be > removed > > Signed-off-by: Xiao Guangrong > --- > arch/x86/kvm/mmu.c | 6 ++---- > 1 files changed, 2 insertions(+), 4 deletions(-) Applied, thanks.