sched/cpufreq: Take cpufreq feedback into account
authorVincent Guittot <vincent.guittot@linaro.org>
Tue, 26 Mar 2024 09:16:13 +0000 (10:16 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 24 Apr 2024 10:07:59 +0000 (12:07 +0200)
commitf1f8d0a224227e4f19a8a8881dc6355bdfc51230
tree04ffa1f8e6968a3ec82ec1366d2555d4c776c7dc
parent75d659317bb136d849a10a30ffe7e0462c982d29
sched/cpufreq: Take cpufreq feedback into account

Aggregate the different pressures applied on the capacity of CPUs and
create a new function that returns the actual capacity of the CPU:
get_actual_cpu_capacity().

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Lukasz Luba <lukasz.luba@arm.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Reviewed-by: Qais Yousef <qyousef@layalina.io>
Link: https://lore.kernel.org/r/20240326091616.3696851-3-vincent.guittot@linaro.org
kernel/sched/fair.c