Skip to content
Commit 3fca0365 authored by Yaozu Dong's avatar Yaozu Dong Committed by Avi Kivity
Browse files

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: default avatarAvi Kivity <avi@qumranet.com>
parent d6c69ee9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment