diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-01-07 19:42:15 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-01-12 19:34:04 +0100 |
commit | 9dd04ec6bc6fa7b310e5595f2ad9bef13eacd3a0 (patch) | |
tree | 70ca4c03580209e00d15dc466460b72fdf50a3f9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7c53f6b671f4aba70ff15e1b05148b10d58c2837 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions