diff options
author | Hillf Danton <[email protected]> | 2011-06-14 18:36:24 -0400 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-06-15 09:50:32 +0200 |
commit | 8dd0de8be31b4b966d17750a0b10df2f575c91ac (patch) | |
tree | 991b9dddf6ef092f94bba5af7609c13c8d7b113c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2c53b436a30867eb6b47dd7bab23ba638d1fb0d2 (diff) |
sched: Fix need_resched() when checking peempt
The RT preempt check tests the wrong task if NEED_RESCHED is
set. It currently checks the local CPU task. It is supposed to
check the task that is running on the runqueue we are about to
wake another task on.
Signed-off-by: Hillf Danton <[email protected]>
Reviewed-by: Yong Zhang <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions