]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: optimize to handle dirty bit
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 11 Jul 2011 19:24:39 +0000 (03:24 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Jul 2011 08:50:27 +0000 (11:50 +0300)
commit022d09a416dbd5941cd3cbe773f588a3d70ec71d
treeff4543527ee35018f26d686e5c46a4c100dda0ef
parentd845588e318a8cca77e19c165f1774da49fba193
KVM: MMU: optimize to handle dirty bit

If dirty bit is not set, we can make the pte access read-only to avoid handing
dirty bit everywhere

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