diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-01-25 15:08:14 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-25 15:08:14 -0500 |
commit | 0d1311a536a0face6267e7346223f2e68b002018 (patch) | |
tree | 20fff118911799b902647a8cb50cc9d2c0f0bd6f /kernel/sched.c | |
parent | 610bf05645a7ac6ea104a474e328eeaaea148870 (diff) |
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.c | 1 |
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) | |||
1722 | inc_nr_running(p, rq); | 1722 | inc_nr_running(p, rq); |
1723 | } | 1723 | } |
1724 | check_preempt_curr(rq, p); | 1724 | check_preempt_curr(rq, p); |
1725 | wakeup_balance_rt(rq, p); | ||
1725 | task_rq_unlock(rq, &flags); | 1726 | task_rq_unlock(rq, &flags); |
1726 | } | 1727 | } |
1727 | 1728 | ||