diff options
author | Vincent Guittot <[email protected]> | 2023-12-11 11:48:51 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2023-12-23 15:52:35 +0100 |
commit | b3edde44e5d4504c23a176819865cd603fd16d6c (patch) | |
tree | 4f2dfd374c65e5cec4b4417589e3384671446c4c /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 599457ba15403037b489fe536266a3d5f9efaed7 (diff) |
cpufreq/schedutil: Use a fixed reference frequency
cpuinfo.max_freq can change at runtime because of boost as an example. This
implies that the value could be different than the one that has been
used when computing the capacity of a CPU.
The new arch_scale_freq_ref() returns a fixed and coherent reference
frequency that can be used when computing a frequency based on utilization.
Use this arch_scale_freq_ref() when available and fallback to
policy otherwise.
Signed-off-by: Vincent Guittot <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Tested-by: Lukasz Luba <[email protected]>
Reviewed-by: Lukasz Luba <[email protected]>
Reviewed-by: Dietmar Eggemann <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions