sched/uclamp: Make task_fits_capacity() use util_fits_cpu()
authorQais Yousef <qais.yousef@arm.com>
Thu, 4 Aug 2022 14:36:02 +0000 (15:36 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 27 Oct 2022 09:01:18 +0000 (11:01 +0200)
commitb48e16a69792b5dc4a09d6807369d11b2970cc36
tree1ac4a11ec9556bbd1e1435c46ea2e5df17c5cac9
parent48d5e9daa8b767e75ed9421665b037a49ce4bc04
sched/uclamp: Make task_fits_capacity() use util_fits_cpu()

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

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