sched: RT-balance on new task

rt-balance when creating new tasks.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Steven Rostedt 2008-01-25 21:08:14 +01:00 committed by Ingo Molnar
parent 610bf05645
commit 0d1311a536

View 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);
}