From: Xiao Guangrong Date: Fri, 16 Jul 2010 03:30:18 +0000 (+0800) Subject: KVM: MMU: using __xchg_spte more smarter X-Git-Tag: v2.6.36-rc1~580^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a3aad70572c3f4d55e7f09ac4eb313d41d0a484;p=pandora-kernel.git KVM: MMU: using __xchg_spte more smarter Sometimes, atomically set spte is not needed, this patch call __xchg_spte() more smartly Note: if the old mapping's access bit is already set, we no need atomic operation since the access bit is not lost Signed-off-by: Xiao Guangrong Signed-off-by: Avi Kivity --- Reading git-diff-tree failed