summaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2008-01-25 21:08:14 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-25 21:08:14 +0100
commit0d1311a536a0face6267e7346223f2e68b002018 (patch)
tree20fff118911799b902647a8cb50cc9d2c0f0bd6f /kernel/sched.c
parent610bf05645a7ac6ea104a474e328eeaaea148870 (diff)
downloadlinux-0d1311a536a0face6267e7346223f2e68b002018.tar.gz
linux-0d1311a536a0face6267e7346223f2e68b002018.tar.bz2
linux-0d1311a536a0face6267e7346223f2e68b002018.zip
sched: RT-balance on new task
rt-balance when creating new tasks. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index c591abd9ca38..36bd8ff2a669 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -1722,6 +1722,7 @@ void fastcall wake_up_new_task(struct task_struct *p, unsigned long clone_flags)
inc_nr_running(p, rq);
}
check_preempt_curr(rq, p);
+ wakeup_balance_rt(rq, p);
task_rq_unlock(rq, &flags);
}