sched/fair: Fix update of rd->sg_overutilized
authorVincent Guittot <vincent.guittot@linaro.org>
Thu, 4 Apr 2024 15:57:38 +0000 (17:57 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 24 Apr 2024 10:02:51 +0000 (12:02 +0200)
commitcd18bec668bb6221a54f03d0b645b7aed841f825
treea5a4bf006d45d6b9b039a20b0f66f0ebae1107a7
parent08a36a48544d73bf153960245aec6c5fa23960de
sched/fair: Fix update of rd->sg_overutilized

sg_overloaded is used instead of sg_overutilized to update
rd->sg_overutilized.

Fixes: 4475cd8bfd9b ("sched/balancing: Simplify the sg_status bitmask and use separate ->overloaded and ->overutilized flags")
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20240404155738.2866102-1-vincent.guittot@linaro.org
kernel/sched/fair.c