sched: push RT tasks from overloaded CPUs
authorSteven Rostedt <srostedt@redhat.com>
Fri, 25 Jan 2008 20:08:07 +0000 (21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:07 +0000 (21:08 +0100)
This patch adds pushing of overloaded RT tasks from a runqueue that is
having tasks (most likely RT tasks) added to the run queue.

TODO: We don't cover the case of waking of new RT tasks (yet).

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sched_rt.c

index c917971..357d3a0 100644 (file)
@@ -1710,6 +1710,7 @@ out_activate:
 
 out_running:
        p->state = TASK_RUNNING;
+       wakeup_balance_rt(rq, p);
 out:
        task_rq_unlock(rq, &flags);
 
Simple merge