Files
linux/kernel
Vincent Guittot ed4b12794d sched/fair: Fix statistics for find_idlest_group()
commit 289de35984 upstream.

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: 57abff067a ("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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-12 07:18:47 +01:00
..
2020-01-09 13:23:40 +01:00
2019-12-04 19:44:14 -08:00
2019-05-24 20:16:01 +02:00
2019-12-04 15:18:39 +01:00