diff options
author | 2025-01-17 18:34:38 -0600 | |
---|---|---|
committer | 2025-03-06 13:01:24 -0600 | |
commit | 009d1c29a45194212e9310ccd91a19a673908a5c (patch) | |
tree | f9e97f2e2df90833ea0336211110c031ae03aeae /scripts/lib/kdoc/kdoc_re.py | |
parent | cpufreq/amd-pstate: Drop min and max cached frequencies (diff) | |
download | wireguard-linux-009d1c29a45194212e9310ccd91a19a673908a5c.tar.xz wireguard-linux-009d1c29a45194212e9310ccd91a19a673908a5c.zip |
cpufreq/amd-pstate: Move perf values into a union
By storing perf values in a union all the writes and reads can
be done atomically, removing the need for some concurrency protections.
While making this change, also drop the cached frequency values,
using inline helpers to calculate them on demand from perf value.
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Reviewed-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions