From: Xiao Guangrong Date: Sun, 15 May 2011 15:20:27 +0000 (+0800) Subject: KVM: MMU: optimize pte write path if don't have protected sp X-Git-Tag: v3.1-rc1~264^2~136 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=332b207d65c1d7982489dbb83e5071c95e19eb75;p=pandora-kernel.git KVM: MMU: optimize pte write path if don't have protected sp 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 Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed