diff options
author | Peter Zijlstra <[email protected]> | 2010-10-31 12:37:04 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2010-11-11 14:37:23 +0100 |
commit | 1e5a74059f9059d330744eac84873b1b99657008 (patch) | |
tree | f32f8ac76d5a6c49c1b4cd8f83155af00007fac0 /tools/perf/util/trace-event-scripting.c | |
parent | 2d46709082c062cae7cce1a15f8cd4cd81b92d88 (diff) |
sched: Fix cross-sched-class wakeup preemption
Instead of dealing with sched classes inside each check_preempt_curr()
implementation, pull out this logic into the generic wakeup preemption
path.
This fixes a hang in KVM (and others) where we are waiting for the
stop machine thread to run ...
Reported-by: Markus Trippelsdorf <[email protected]>
Tested-by: Marcelo Tosatti <[email protected]>
Tested-by: Sergey Senozhatsky <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: <1288891946.2039.31.camel@laptop>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions