From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Guangrong Subject: [PATCH v6 0/9] KVM: MMU: fast page fault Date: Tue, 29 May 2012 14:46:31 +0800 Message-ID: <4FC470C7.5040700@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: Received: from e23smtp09.au.ibm.com ([202.81.31.142]:42235 "EHLO e23smtp09.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751423Ab2E2GrZ (ORCPT ); Tue, 29 May 2012 02:47:25 -0400 Received: from /spool/local by e23smtp09.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 29 May 2012 07:34:34 +1000 Sender: kvm-owner@vger.kernel.org List-ID: Changlog: - disable fast page fault for soft mmu, let it only works for direct sptes. - optimize spte_has_volatile_bits() and mmu_spte_update() Performance result: (The benchmark can be found at: http://www.spinics.net/lists/kvm/msg73011.html) before after Run 10 times, Avg time: 532473698 ns. 195864447 ns. +63.2%