diff options
| author | Peter Zijlstra <[email protected]> | 2014-07-29 17:00:21 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2014-08-12 12:48:18 +0200 |
| commit | 743cb1ff191f00fee653212bdbcee1e56086d6ce (patch) | |
| tree | 0a6213fa99f27404f07e2e38f29ce93ae9bbf588 /tools/perf/scripts/python | |
| parent | 98a96f202203fecad65b44449077c695686ad4db (diff) | |
sched/fair: Make calculate_imbalance() independent
Rik noticed that calculate_imbalance() relies on
update_sd_pick_busiest() to guarantee that busiest->sum_nr_running >
busiest->group_capacity_factor.
Break this implicit assumption (with the intent of not providing it
anymore) by having calculat_imbalance() verify it and not rely on
others.
Reported-by: Rik van Riel <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Acked-by: Vincent Guittot <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions