]> 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)
commitc334c90a6e19534606a1b3758e37ef8b77bae110
treeff4543527ee35018f26d686e5c46a4c100dda0ef
parent284b0d22653c6a7980de7d9d58572addcbf832ac
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