Files
rockchip-kernel/kernel
Qais Yousef 2fd1c194e6 sched/uclamp: Make select_idle_capacity() use util_fits_cpu()
commit b759caa1d9 upstream.

Use the new util_fits_cpu() to ensure migration margin and capacity
pressure are taken into account correctly when uclamp is being used
otherwise we will fail to consider CPUs as fitting in scenarios where
they should.

Fixes: b4c9c9f156 ("sched/fair: Prefer prev cpu in asymmetric wakeup path")
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-5-qais.yousef@arm.com
(cherry picked from commit b759caa1d9)
Signed-off-by: Qais Yousef (Google) <qyousef@layalina.io>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-26 11:27:39 +02:00
..
2023-01-14 10:16:24 +01:00
2023-04-05 11:23:44 +02:00
2023-01-14 10:15:20 +01:00
2023-02-01 08:23:22 +01:00