From: Avi Kivity Date: Mon, 7 Sep 2009 08:14:12 +0000 (+0300) Subject: KVM: VMX: Use shared msr infrastructure X-Git-Tag: v2.6.33-rc1~387^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26bb0981b3ff00b9177d61fe55806db978862b3c;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed