]> nv-tegra.nvidia Code Review - linux-2.6.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)
commitad218f85e388e8ca816ff09d91c246cd014c53a8
tree73fff9d1b3f01e760c2da8bc2276c1a74f4a36e4
parent6cffe8ca4a2adf1ac5003d9cad08fe4434d6eee0
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