diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-07-29 00:21:22 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-08-02 08:26:08 -0400 |
commit | da19ab510343c6496fe8b8f890091296032025c9 (patch) | |
tree | e7ec769249ccbb145a68ec7071c59088685c9926 /kernel/sched_cpupri.c | |
parent | e709715915d69b6a929d77e7652c9c3fea61c317 (diff) |
sched: Check for pushing rt tasks after all scheduling
The current method for pushing RT tasks after scheduling only
happens after a context switch. But we found cases where a task
is set up on a run queue to be pushed but the push never
happens because the schedule chooses the same task.
This bug was found with the help of Gregory Haskins and the use
of ftrace (trace_printk). It tooks several days for both of us
analyzing the code and the trace output to find this.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20090729042526.205923666@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_cpupri.c')
0 files changed, 0 insertions, 0 deletions