diff options
author | 2014-07-29 17:00:21 +0200 | |
---|---|---|
committer | 2014-08-12 12:48:18 +0200 | |
commit | 743cb1ff191f00fee653212bdbcee1e56086d6ce (patch) | |
tree | 0a6213fa99f27404f07e2e38f29ce93ae9bbf588 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge branch 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (diff) | |
download | wireguard-linux-743cb1ff191f00fee653212bdbcee1e56086d6ce.tar.xz wireguard-linux-743cb1ff191f00fee653212bdbcee1e56086d6ce.zip |
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 <riel@redhat.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Vincent Guittot <vincent.guittot@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Link: http://lkml.kernel.org/r/20140729152631.GW12054@laptop.lan
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions