]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Don't bother the mmu if cr3 load doesn't change cr3
authorAvi Kivity <avi@qumranet.com>
Wed, 21 Nov 2007 00:57:59 +0000 (02:57 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:10 +0000 (17:53 +0200)
commit554f4ed2969b6112305831647148de75d772a86f
tree9e80c69f9024e45b39cf0d1eeda56ba4a57567a6
parentd8bba2e0b18d225bba8f7d2f0141f62846e81cba
KVM: Don't bother the mmu if cr3 load doesn't change cr3

If the guest requests just a tlb flush, don't take the vm lock and
drop the mmu context pointlessly.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/mmu.c
drivers/kvm/x86.c
drivers/kvm/x86.h