diff options
author | Yaozu Dong <eddie.dong@intel.com> | 2007-04-25 15:49:19 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-05-03 09:52:30 +0200 |
commit | 3fca03653010b8c5fa63b99fc94c78cbfb433d00 (patch) | |
tree | 9102be63cdedd172fa1d58959218d1c698df7848 /drivers/kvm/mmu.c | |
parent | KVM: MMU: Avoid heavy ASSERT at non debug mode. (diff) | |
download | linux-3fca03653010b8c5fa63b99fc94c78cbfb433d00.tar.xz linux-3fca03653010b8c5fa63b99fc94c78cbfb433d00.zip |
KVM: VMX: Avoid unnecessary vcpu_load()/vcpu_put() cycles
By checking if a reschedule is needed, we avoid dropping the vcpu.
[With changes by me, based on Anthony Liguori's observations]
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/mmu.c')
0 files changed, 0 insertions, 0 deletions