From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Guangrong Subject: [PATCH v7 00/10] KVM: MMU: fast page fault Date: Wed, 20 Jun 2012 15:56:29 +0800 Message-ID: <4FE1822D.8010002@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , LKML , KVM To: Avi Kivity Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 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%