]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: prepopulate the shadow on invlpg
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 2 Dec 2008 00:32:05 +0000 (22:32 -0200)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:55:44 +0000 (16:55 +0200)
commit167736bac8423d9e63bb199c9fb0ed34a053cb2d
tree73fff9d1b3f01e760c2da8bc2276c1a74f4a36e4
parentf696288f654dff268795b1ef168ef91ff7baff6b
KVM: MMU: prepopulate the shadow on invlpg

If the guest executes invlpg, peek into the pagetable and attempt to
prepopulate the shadow entry.

Also stop dirty fault updates from interfering with the fork detector.

2% improvement on RHEL3/AIM7.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h
arch/x86/kvm/x86.c