sched: Remove load_balance_newidle()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 23 Dec 2009 14:29:42 +0000 (15:29 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Jan 2010 12:40:14 +0000 (13:40 +0100)
commitf492e12ef050e02bf0185b6b57874992591b9be1
treeb46ac0aeb96fe0e40598c86819cdab5321e5eff7
parent1af3ed3ddf27499c3f57662c4c29871e2b95e5f9
sched: Remove load_balance_newidle()

The two functions: load_balance{,_newidle}() are very similar, with the
following differences:

 - rq->lock usage
 - sb->balance_interval updates
 - *balance check

So remove the load_balance_newidle() call with load_balance(.idle =
CPU_NEWLY_IDLE), explicitly unlock the rq->lock before calling (would be
done by double_lock_balance() anyway), and ignore the other differences
for now.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c