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 c591abd..36bd8ff 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);
 }