From: Paul Turner Date: Mon, 15 Nov 2010 23:47:10 +0000 (-0800) Subject: sched: Update tg->shares after cpu.shares write X-Git-Tag: v2.6.38-rc1~489^2~21 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9437178f623a19af5951808d880a8599f66ac150;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra LKML-Reference: <20101115234938.465521344@google.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed