[PATCH v2 0/2] cpufreq: schedutil: Optimize operations in hot path frequency switch

From: Lukasz Luba
Date: Wed Dec 07 2022 - 05:17:43 EST


Hi all,

This v2 is an attempt to optimize some not needed operations in the frequency
change code path for the shared freq. domain. There was different approach
which was too aggressive and failed do to working on a state CPU capacity
information.

changes:
v2:
- split the patch into two (Viresh)
v1:
- simple approach which fetches CPU capacity every time it's needed,
not relaying on the setup value, which was causing issues.

Regards,
Lukasz

Lukasz Luba (2):
cpufreq: schedutil: Introduce single max CPU capacity for freqency
domain
cpufreq: schedutil: Optimize operations with single max CPU capacity

kernel/sched/cpufreq_schedutil.c | 35 +++++++++++++++++++-------------
1 file changed, 21 insertions(+), 14 deletions(-)

--
2.17.1