]> err.no Git - linux-2.6/commitdiff
sched: RT-balance on new task
authorSteven Rostedt <srostedt@redhat.com>
Fri, 25 Jan 2008 20:08:14 +0000 (21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:14 +0000 (21:08 +0100)
rt-balance when creating new tasks.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c

index c591abd9ca38427e6247e554e8c49fdb8848d310..36bd8ff2a669b4169a7e496cb3fa26b4183c0d8c 100644 (file)
@@ -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);
 }