]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched/fair: Update overutilized detection
authorVincent Guittot <vincent.guittot@linaro.org>
Fri, 13 Feb 2026 10:17:51 +0000 (11:17 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 23 Feb 2026 17:04:11 +0000 (18:04 +0100)
commit9264758066061e660c86e48cff1bac4a58a7324a
treecea8edf105e47b6d0e55afbfc63ae4edb4c04f6f
parentdb4551e2ba346663b7b16f0b5d36d308b615c50e
sched/fair: Update overutilized detection

Checking uclamp_min is useless and counterproductive for overutilized state
as misfit can now happen without being in overutilized state.

Since commit e5ed0550c04c ("sched/fair: unlink misfit task from cpu overutilized")
util_fits_cpu returns -1 when uclamp_min is above capacity which is not
considered as cpu overutilized.

Remove the useless rq_util_min parameter.

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Qais Yousef <qyousef@layalina.io>
Reviewed-by: Christian Loehle <christian.loehle@arm.com>
Link: https://patch.msgid.link/20260213101751.3121899-1-vincent.guittot@linaro.org
kernel/sched/fair.c