KVM: MMU: only update unsync page in invlpg path
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Sat, 15 May 2010 10:53:35 +0000 (18:53 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:50 +0000 (10:35 +0300)
commitf78978aa3a8222f7822f15fba5dbaea990ef0887
treeb961f86576c2bfd58d546c44efa193bc9db449c6
parente02aa901b1aa41fb541521800cc2a4774c162485
KVM: MMU: only update unsync page in invlpg path

Only unsync pages need updated at invlpg time since other shadow
pages are write-protected

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/paging_tmpl.h