diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-01-25 21:08:07 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-25 21:08:07 +0100 |
commit | 4642dafdf93dc7d66ee33437b93a5e6b8cea20d2 (patch) | |
tree | 4e3fd9c95be1ed14e9f40b2dcf232c40e5ab8fef /kernel/sched.c | |
parent | f65eda4f789168ba5ff3fa75546c29efeed19f58 (diff) | |
download | linux-4642dafdf93dc7d66ee33437b93a5e6b8cea20d2.tar.gz linux-4642dafdf93dc7d66ee33437b93a5e6b8cea20d2.tar.bz2 linux-4642dafdf93dc7d66ee33437b93a5e6b8cea20d2.zip |
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>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index c91797107913..357d3a084de8 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -1710,6 +1710,7 @@ out_activate: out_running: p->state = TASK_RUNNING; + wakeup_balance_rt(rq, p); out: task_rq_unlock(rq, &flags); |