summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-01-07 19:42:15 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-01-12 19:34:04 +0100
commit9dd04ec6bc6fa7b310e5595f2ad9bef13eacd3a0 (patch)
tree70ca4c03580209e00d15dc466460b72fdf50a3f9 /tools/perf/scripts/python/export-to-postgresql.py
parent7c53f6b671f4aba70ff15e1b05148b10d58c2837 (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