android_kernel_motorola_sm6225/arch/x86/kvm
Avi Kivity d3edefc003 KVM: VMX: Only reload guest cr2 if different from host cr2
cr2 changes only rarely, and writing it is expensive.  Avoid the costly cr2
writes by checking if it does not already hold the desired value.

Shaves 70 cycles off the vmexit latency.

Signed-off-by: Avi Kivity <avi@redhat.com>
2009-09-10 08:32:57 +03:00
..
i8254.c KVM: Use macro to iterate over vcpus. 2009-09-10 08:32:52 +03:00
i8254.h KVM: Allow PIT emulation without speaker port 2009-09-10 08:32:41 +03:00
i8259.c KVM: Introduce kvm_vcpu_is_bsp() function. 2009-09-10 08:32:51 +03:00
irq.c KVM: Remove irq_pending bitmap 2009-06-10 11:48:57 +03:00
irq.h KVM: make irq ack notifications aware of routing table 2009-03-24 11:03:08 +02:00
Kconfig KVM: Break dependency between vcpu index in vcpus array and vcpu_id. 2009-09-10 08:32:52 +03:00
kvm_cache_regs.h KVM: Cache pdptrs 2009-09-10 08:32:46 +03:00
kvm_timer.h KVM: Use pointer to vcpu instead of vcpu_id in timer code. 2009-09-10 08:32:52 +03:00
lapic.c KVM: Optimize searching for highest IRR 2009-09-10 08:32:57 +03:00
lapic.h KVM: Optimize searching for highest IRR 2009-09-10 08:32:57 +03:00
Makefile KVM: irqfd 2009-09-10 08:32:41 +03:00
mmu.c KVM: MMU: add kvm_mmu_get_spte_hierarchy helper 2009-09-10 08:32:56 +03:00
mmu.h KVM: MMU: add kvm_mmu_get_spte_hierarchy helper 2009-09-10 08:32:56 +03:00
paging_tmpl.h KVM: MMU: s/shadow_pte/spte/ 2009-09-10 08:32:51 +03:00
svm.c KVM: Move performance counter MSR access interception to generic x86 path 2009-09-10 08:32:54 +03:00
timer.c KVM: Drop useless atomic test from timer function 2009-09-10 08:32:57 +03:00
tss.h KVM: x86: hardware task switching support 2008-04-27 12:00:39 +03:00
vmx.c KVM: VMX: Only reload guest cr2 if different from host cr2 2009-09-10 08:32:57 +03:00
x86.c KVM: Replace pending exception by PF if it happens serially 2009-09-10 08:32:56 +03:00
x86.h KVM: Do not re-execute INTn instruction. 2009-06-10 11:48:58 +03:00
x86_emulate.c KVM: x86 emulator: fix jmp far decoding (opcode 0xea) 2009-09-10 08:32:40 +03:00