Skip to content
Commit 5cb1a56c authored by Qais Yousef's avatar Qais Yousef Committed by Greg Kroah-Hartman
Browse files

sched/uclamp: Make task_fits_capacity() use util_fits_cpu()



commit b48e16a6 upstream.

So that the new uclamp rules in regard to migration margin and capacity
pressure are taken into account correctly.

Fixes: a7008c07 ("sched/fair: Make task_fits_capacity() consider uclamp restrictions")
Co-developed-by: default avatarVincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: default avatarQais Yousef <qais.yousef@arm.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220804143609.515789-3-qais.yousef@arm.com


(cherry picked from commit b48e16a6)
Signed-off-by: default avatarQais Yousef (Google) <qyousef@layalina.io>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2523d9d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment