KVM: Get rid of KVM_REQ_KICK
authorAvi Kivity <avi@redhat.com>
Mon, 3 May 2010 13:54:48 +0000 (16:54 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:37 +0000 (10:35 +0300)
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: Avi Kivity <avi@redhat.com>

No differences found