Re: [PATCH] sched/fair: fix statistics for find_idlest_group()

From: Peter Zijlstra
Date: Tue Feb 18 2020 - 10:10:24 EST


On Tue, Feb 18, 2020 at 03:45:34PM +0100, Vincent Guittot wrote:
> 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@xxxxxxxxxx>

Thanks!