diff options
author | Avi Kivity <avi@redhat.com> | 2009-09-07 11:14:12 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-12-03 09:32:22 +0200 |
commit | 26bb0981b3ff00b9177d61fe55806db978862b3c (patch) | |
tree | c64237caadf82729ca0d8aa9a9a66bdce27e66be /arch/powerpc/kvm | |
parent | 18863bdd60f895f3b3ba16b15e8331aee781e8ec (diff) |
KVM: VMX: Use shared msr infrastructure
Instead of reloading syscall MSRs on every preemption, use the new shared
msr infrastructure to reload them at the last possible minute (just before
exit to userspace).
Improves vcpu/idle/vcpu switches by about 2000 cycles (when EFER needs to be
reloaded as well).
[jan: fix slot index missing indirection]
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm')
0 files changed, 0 insertions, 0 deletions