diff options
author | Avi Kivity <avi@qumranet.com> | 2007-04-17 15:30:24 +0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-05-03 10:52:29 +0300 |
commit | 2345df8c555ecb92c0c36172c07d5ac321a92dc7 (patch) | |
tree | e61e3a6714d4fd06dbddb3d381494e505fd91ff0 /drivers/kvm/vmx.h | |
parent | c9047f533373e934b96d19d6a3d313ca2132fbe5 (diff) | |
download | linux-2345df8c555ecb92c0c36172c07d5ac321a92dc7.tar.gz linux-2345df8c555ecb92c0c36172c07d5ac321a92dc7.tar.bz2 linux-2345df8c555ecb92c0c36172c07d5ac321a92dc7.zip |
KVM: VMX: Reduce unnecessary saving of host msrs
THe automatically switched msrs are never changed on the host (with
the exception of MSR_KERNEL_GS_BASE) and thus there is no need to save
them on every vm entry.
This reduces vmexit latency by ~400 cycles on i386 and by ~900 cycles (10%)
on x86_64.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/vmx.h')
0 files changed, 0 insertions, 0 deletions