KVM: MMU: Avoid access/dirty update loop if all is well
authorAvi Kivity <avi@redhat.com>
Sun, 16 Sep 2012 12:03:02 +0000 (15:03 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 20 Sep 2012 10:00:09 +0000 (13:00 +0300)
commitb514c30f7729b66af481fde3c1225e832e339d5b
tree8d0744aa7f2fd57fd31e9aed72de177b74d7900d
parent71331a1da1e3a66d14bb3864f99e32d84ab5a76f
KVM: MMU: Avoid access/dirty update loop if all is well

Keep track of accessed/dirty bits; if they are all set, do not
enter the accessed/dirty update loop.

Reviewed-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/paging_tmpl.h