aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorPaul Turner <[email protected]>2010-11-15 15:47:10 -0800
committerIngo Molnar <[email protected]>2010-11-18 13:27:50 +0100
commit9437178f623a19af5951808d880a8599f66ac150 (patch)
treea2f315092f0b7b31cf023a82175c6cf68fd5e04c /tools/perf/scripts/python/sched-migration.py
parentd6b5591829bd348a5fbe1c428d28dea00621cdba (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 <[email protected]?> Signed-off-by: Peter Zijlstra <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions