aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorVincent Guittot <[email protected]>2023-12-11 10:48:55 +0000
committerIngo Molnar <[email protected]>2023-12-23 14:52:36 +0000
commit1f023007f5e782bda19ad9104830c404fd622c5d (patch)
tree74dd934b49adae2c01a2fbca8247e0536db00307 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parentcpufreq/cppc: Set the frequency used for computing the capacity (diff)
downloadkernel-1f023007f5e782bda19ad9104830c404fd622c5d.tar.gz
kernel-1f023007f5e782bda19ad9104830c404fd622c5d.zip
arm64/amu: Use capacity_ref_freq() to set AMU ratio
Use the new capacity_ref_freq() method to set the ratio that is used by AMU for computing the arch_scale_freq_capacity(). This helps to keep everything aligned using the same reference for computing CPUs capacity. The default value of the ratio (stored in per_cpu(arch_max_freq_scale)) ensures that arch_scale_freq_capacity() returns max capacity until it is set to its correct value with the cpu capacity and capacity_ref_freq(). Signed-off-by: Vincent Guittot <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Acked-by: Sudeep Holla <[email protected]> Acked-by: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions