Skip to content
Commit de63ad4c authored by Longpeng(Mike)'s avatar Longpeng(Mike) Committed by Paolo Bonzini
Browse files

KVM: X86: implement the logic for spinlock optimization



get_cpl requires vcpu_load, so we must cache the result (whether the
vcpu was preempted when its cpl=0) in kvm_vcpu_arch.

Signed-off-by: default avatarLongpeng(Mike) <longpeng2@huawei.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 199b5763
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment