diff options
| author | Oleg Nesterov <[email protected]> | 2014-10-08 21:36:44 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2014-10-28 10:47:54 +0100 |
| commit | 1a43a14a5bd9c32dbd7af35e35a5afa703944bcb (patch) | |
| tree | dbbef5740b8e0851eef0c19760e548529076613c /tools/perf/scripts/python/bin | |
| parent | 8f9fbf092cd0ae31722b42c9abb427a87d55c18a (diff) | |
sched: Fix schedule_tail() to disable preemption
finish_task_switch() enables preemption, so post_schedule(rq) can be
called on the wrong (and even dead) CPU. Afaics, nothing really bad
can happen, but in this case we can wrongly clear rq->post_schedule
on that CPU. And this simply looks wrong in any case.
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Kirill Tkhai <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions