[PATCH 0/2] Backport unlink misfit patches into 6.1.y

From: Qais Yousef
Date: Sun Aug 20 2023 - 15:22:13 EST


Decoupling misfit from overutilized better helps handling misfit due to
uclamp_min only being misfit without triggering overutilized state, which is
bad from energy point of view as it prematurely disables energy aware
scheduling.

The series also makes the search for a better CPU under bad thermal condition
more comprehensive, which is useful improvement when the system is under bad
thermal condition.

Backports to 5.10.y and 5.15.y is hard as find_energy_efficient_cpu() is
different. But it applies cleanly on 6.1.y

Compile tested against various randconfigs for different archs.

Boot tested on android14-6.1 GKI kernel.

Based on v6.1.46

Original series

https://lore.kernel.org/lkml/20230201143628.270912-1-vincent.guittot@xxxxxxxxxx/

Thanks!

--
Qais Yousef

Vincent Guittot (2):
sched/fair: unlink misfit task from cpu overutilized
sched/fair: Remove capacity inversion detection

kernel/sched/fair.c | 189 ++++++++++++++++++++-----------------------
kernel/sched/sched.h | 19 -----
2 files changed, 87 insertions(+), 121 deletions(-)

--
2.34.1