From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH v2 1/7] KVM: MMU: optimize pte write path if don't have protected sp Date: Fri, 20 May 2011 12:49:32 -0300 Message-ID: <20110520154931.GA3627@amt.cnet> References: <4DCFEF3B.5060806@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , LKML , KVM To: Xiao Guangrong Return-path: Received: from mx1.redhat.com ([209.132.183.28]:11107 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756743Ab1ETVbv (ORCPT ); Fri, 20 May 2011 17:31:51 -0400 Content-Disposition: inline In-Reply-To: <4DCFEF3B.5060806@cn.fujitsu.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, May 15, 2011 at 11:20:27PM +0800, Xiao Guangrong wrote: > Simply return from kvm_mmu_pte_write path if no shadow page is > write-protected, then we can avoid to walk all shadow pages and hold > mmu-lock > > Signed-off-by: Xiao Guangrong Applied, thanks.