diff options
author | Paul Turner <pjt@google.com> | 2010-11-15 15:47:10 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-11-18 13:27:50 +0100 |
commit | 9437178f623a19af5951808d880a8599f66ac150 (patch) | |
tree | a2f315092f0b7b31cf023a82175c6cf68fd5e04c /net | |
parent | d6b5591829bd348a5fbe1c428d28dea00621cdba (diff) |
sched: Update tg->shares after cpu.shares write
Formerly sched_group_set_shares would force a rebalance by overflowing domain
share sums. Now that per-cpu averages are maintained we can set the true value
by issuing an update_cfs_shares() following a tg->shares update.
Also initialize tg se->load to 0 for consistency since we'll now set correct
weights on enqueue.
Signed-off-by: Paul Turner <pjt@google.com?>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20101115234938.465521344@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions