diff options
author | 2020-04-11 17:20:20 +0800 | |
---|---|---|
committer | 2020-04-30 20:14:38 +0200 | |
commit | 64297f2b03cc7a6d0184a435f1b296beca1bedd1 (patch) | |
tree | 39666b419b1d3248e5c33d23a3203d8e3ec123a2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sched/fair: Remove distribute_running from CFS bandwidth (diff) | |
download | wireguard-linux-64297f2b03cc7a6d0184a435f1b296beca1bedd1.tar.xz wireguard-linux-64297f2b03cc7a6d0184a435f1b296beca1bedd1.zip |
sched/fair: Simplify the code of should_we_balance()
We only consider group_balance_cpu() after there is no idle
cpu. So, just do comparison before return at these two cases.
Signed-off-by: Peng Wang <rocking@linux.alibaba.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <valentin.schneider@arm.com>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lkml.kernel.org/r/245c792f0e580b3ca342ad61257f4c066ee0f84f.1586594833.git.rocking@linux.alibaba.com
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions