]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29080a55324489eb1c77ff9558844df3f6c37ac6
tree8d0744aa7f2fd57fd31e9aed72de177b74d7900d
parent47058df2adb8fd4b1abd97c6c60498d500a14548
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