sched: push RT tasks from overloaded CPUs

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>
This commit is contained in:
Steven Rostedt
2008-01-25 21:08:07 +01:00
committed by Ingo Molnar
parent f65eda4f78
commit 4642dafdf9
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -1710,6 +1710,7 @@ out_activate:
out_running:
p->state = TASK_RUNNING;
wakeup_balance_rt(rq, p);
out:
task_rq_unlock(rq, &flags);