aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorGleb Natapov <[email protected]>2012-05-03 11:36:39 +0300
committerAvi Kivity <[email protected]>2012-05-06 14:56:54 +0300
commita4fa16353108431e7cfdfc3ecf683bac21b50755 (patch)
treea6d8b41f8873b8d7bfe30c33d08e71a11d19b173 /tools/perf/util/scripting-engines/trace-event-python.c
parent95f714727436836bb46236ce2bcd8ee8f9274aed (diff)
KVM: ensure async PF event wakes up vcpu from halt
If vcpu executes hlt instruction while async PF is waiting to be delivered vcpu can block and deliver async PF only after another even wakes it up. This happens because kvm_check_async_pf_completion() will remove completion event from vcpu->async_pf.done before entering kvm_vcpu_block() and this will make kvm_arch_vcpu_runnable() return false. The solution is to make vcpu runnable when processing completion. Signed-off-by: Gleb Natapov <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions