aboutsummaryrefslogtreecommitdiff
path: root/drivers/kvm/x86_emulate.h
diff options
context:
space:
mode:
authorYaozu Dong <eddie.dong@intel.com>2007-04-25 16:49:19 +0300
committerAvi Kivity <avi@qumranet.com>2007-05-03 10:52:30 +0300
commit3fca03653010b8c5fa63b99fc94c78cbfb433d00 (patch)
tree9102be63cdedd172fa1d58959218d1c698df7848 /drivers/kvm/x86_emulate.h
parentd6c69ee9a24b307ce94e55ebfba6208a830c9ecb (diff)
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/x86_emulate.h')
0 files changed, 0 insertions, 0 deletions