From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH v7 00/10] KVM: MMU: fast page fault Date: Tue, 3 Jul 2012 12:11:28 -0300 Message-ID: <20120703151128.GA17302@amt.cnet> References: <4FE1822D.8010002@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: <4FE1822D.8010002@linux.vnet.ibm.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Wed, Jun 20, 2012 at 03:56:29PM +0800, Xiao Guangrong wrote: > Changlog: > - always atomicly update the spte if it can be updated out of mmu-lock > - rename spte_can_be_writable() to spte_is_locklessly_modifiable() > - cleanup and comment spte_write_protect() > > Performance result: > (The benchmark can be found at: http://www.spinics.net/lists/kvm/msg73011.html) > > before after > Run 10 times, Avg time: 538233957 ns. 249809853 ns. +53.6% Looks fine to me.