diff options
author | Mario Limonciello <[email protected]> | 2024-08-26 16:13:57 -0500 |
---|---|---|
committer | Mario Limonciello <[email protected]> | 2024-09-11 10:23:23 -0500 |
commit | 45722e777fd99ea863fe653c1838d39f678506e2 (patch) | |
tree | 1858fb07952e8f15f31157134f9ce8dfe58f28b7 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | ad4caad58d91d3293880f8074f7ad125490ce636 (diff) |
cpufreq: amd-pstate: Optimize amd_pstate_update_limits()
Don't take and release the mutex when prefcore isn't present and
avoid initialization of variables that will be initially set
in the function.
Reviewed-by: Gautham R. Shenoy <[email protected]>
Reviewed-by: Perry Yuan <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions