]> git.ipfire.org Git - thirdparty/linux.git/commit
sched/fair: Filter false overloaded_group case for EAS
authorVincent Guittot <vincent.guittot@linaro.org>
Fri, 6 Feb 2026 09:54:54 +0000 (10:54 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 23 Feb 2026 17:04:11 +0000 (18:04 +0100)
commitd3d663faa1d4e86491b77ab72eabc3ea2f58b197
treeb987ae1f5165f6c4f10765a92e52cbe92bf962b3
parent9264758066061e660c86e48cff1bac4a58a7324a
sched/fair: Filter false overloaded_group case for EAS

With EAS, a group should be set overloaded if at least 1 CPU in the group
is overutilized but it can happen that a CPU is fully utilized by tasks
because of clamping the compute capacity of the CPU. In such case, the CPU
is not overutilized and as a result should not be set overloaded as well.

group_overloaded being a higher priority than group_misfit, such group can
be selected as the busiest group instead of a group with a mistfit task
and prevents load_balance to select the CPU with the misfit task to pull
the latter on a fitting CPU.

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Pierre Gondois <pierre.gondois@arm.com>
Link: https://patch.msgid.link/20260206095454.1520619-1-vincent.guittot@linaro.org
kernel/sched/fair.c