diff options
author | 2020-02-18 15:45:34 +0100 | |
---|---|---|
committer | 2020-02-27 10:08:27 +0100 | |
commit | 289de35984815576793f579ec27248609e75976e (patch) | |
tree | 1a762bbacc79405609bcc9e1746e62bfb37d880a /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Merge tag 'riscv-for-linux-5.6-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux (diff) | |
download | wireguard-linux-289de35984815576793f579ec27248609e75976e.tar.xz wireguard-linux-289de35984815576793f579ec27248609e75976e.zip |
sched/fair: Fix statistics for find_idlest_group()
sgs->group_weight is not set while gathering statistics in
update_sg_wakeup_stats(). This means that a group can be classified as
fully busy with 0 running tasks if utilization is high enough.
This path is mainly used for fork and exec.
Fixes: 57abff067a08 ("sched/fair: Rework find_idlest_group()")
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Link: https://lore.kernel.org/r/20200218144534.4564-1-vincent.guittot@linaro.org
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions