sched: Update shares on idle_balance
authorPaul Turner <pjt@google.com>
Mon, 15 Nov 2010 23:47:07 +0000 (15:47 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Nov 2010 12:27:49 +0000 (13:27 +0100)
commitc66eaf619c0c7937e9ded160ae83b5a7a6b19b56
tree04fca9a8b4c017efa00d7e7077a1aba9d454248a
parenta7a4f8a752ec734b2eab904fc863d5dc873de338
sched: Update shares on idle_balance

Since shares updates are no longer expensive and effectively local, update them
at idle_balance().  This allows us to more quickly redistribute shares to
another cpu when our load becomes idle.

Signed-off-by: Paul Turner <pjt@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20101115234938.204191702@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c