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

Message ID 20221207101705.9460-1-lukasz.luba@arm.com
Headers
Series cpufreq: schedutil: Optimize operations in hot path frequency switch |

Message

Lukasz Luba Dec. 7, 2022, 10:17 a.m. UTC
  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(-)