aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_rt.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-07-29 00:21:23 -0400
committerIngo Molnar <mingo@elte.hu>2009-08-02 08:26:09 -0400
commitc3a2ae3d93c0f10d29c071f599764d00b8de00cb (patch)
treee831ec79696bad3039fc9700bbb412ad38945985 /kernel/sched_rt.c
parentda19ab510343c6496fe8b8f890091296032025c9 (diff)
sched: Add new prio to cpupri before removing old prio
We need to add the new prio to the cpupri accounting before removing the old prio. This is because removing the old prio first will open a race window where the cpu will be removed from pri_active. In this case the cpu will not be visible for RT push and pulls. This could cause a RT task to not migrate appropriately, and create a very large latency. This bug was found with the use of ftrace sched events and trace_printk. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <20090729042526.438281019@goodmis.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_rt.c')
0 files changed, 0 insertions, 0 deletions