diff options
author | 2021-01-07 19:42:15 +0100 | |
---|---|---|
committer | 2021-01-12 19:34:04 +0100 | |
commit | 9dd04ec6bc6fa7b310e5595f2ad9bef13eacd3a0 (patch) | |
tree | 70ca4c03580209e00d15dc466460b72fdf50a3f9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.11-rc3 (diff) | |
download | wireguard-linux-9dd04ec6bc6fa7b310e5595f2ad9bef13eacd3a0.tar.xz wireguard-linux-9dd04ec6bc6fa7b310e5595f2ad9bef13eacd3a0.zip |
cpufreq: intel_pstate: Always read hwp_cap_cached with READ_ONCE()
Because intel_pstate_get_hwp_max() which updates hwp_cap_cached
may run in parallel with the readers of it, annotate all of the
read accesses to it with READ_ONCE().
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Chen Yu <yu.c.chen@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions