diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2011-05-15 17:20:27 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-07-12 10:45:02 +0200 |
commit | 332b207d65c1d7982489dbb83e5071c95e19eb75 (patch) | |
tree | 5a9917fc3b03b6f1c9d9e1436c89c3bc5f45b636 /virt/kvm | |
parent | KVM: VMX: always_inline VMREADs (diff) | |
download | linux-332b207d65c1d7982489dbb83e5071c95e19eb75.tar.xz linux-332b207d65c1d7982489dbb83e5071c95e19eb75.zip |
KVM: MMU: optimize pte write path if don't have protected sp
Simply return from kvm_mmu_pte_write path if no shadow page is
write-protected, then we can avoid to walk all shadow pages and hold
mmu-lock
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions