Skip to content
Commit d94e1dc9 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Get rid of KVM_REQ_KICK



KVM_REQ_KICK poisons vcpu->requests by having a bit set during normal
operation.  This causes the fast path check for a clear vcpu->requests
to fail all the time, triggering tons of atomic operations.

Fix by replacing KVM_REQ_KICK with a vcpu->guest_mode atomic.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 54b8486f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment