diff options
author | Vincent Guittot <vincent.guittot@linaro.org> | 2019-10-18 16:26:28 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-10-21 10:40:53 +0300 |
commit | 490ba971d8b498ba3a47999ab94c6a0d1830ad41 (patch) | |
tree | d738c6ac9b8d76ddfd0fd98bbd2a953ec4721c44 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9ae7ab20b4835dbea0e5fc6a5c70171dc354a72e (diff) | |
download | linux-490ba971d8b498ba3a47999ab94c6a0d1830ad41.tar.xz |
sched/fair: Clean up asym packing
Clean up asym packing to follow the default load balance behavior:
- classify the group by creating a group_asym_packing field.
- calculate the imbalance in calculate_imbalance() instead of bypassing it.
We don't need to test twice same conditions anymore to detect asym packing
and we consolidate the calculation of imbalance in calculate_imbalance().
There is no functional changes.
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Acked-by: Rik van Riel <riel@surriel.com>
Cc: Ben Segall <bsegall@google.com>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Morten.Rasmussen@arm.com
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: hdanton@sina.com
Cc: parth@linux.ibm.com
Cc: pauld@redhat.com
Cc: quentin.perret@arm.com
Cc: srikar@linux.vnet.ibm.com
Cc: valentin.schneider@arm.com
Link: https://lkml.kernel.org/r/1571405198-27570-2-git-send-email-vincent.guittot@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions