diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-12-30 17:57:11 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-12-31 23:48:43 +0300 |
commit | cad30467963267509d5b0d7d3c9bd1af3b91e720 (patch) | |
tree | 1401116f7b9bce68c4d4c1140b4648c5dcd1919f /drivers/cpufreq/exynos5440-cpufreq.c | |
parent | aa439248ab71bcd2d26a01708dead4dd56616499 (diff) | |
download | linux-cad30467963267509d5b0d7d3c9bd1af3b91e720.tar.xz |
cpufreq: intel_pstate: Use locking in intel_cpufreq_verify_policy()
Race conditions are possible if intel_cpufreq_verify_policy()
is executed in parallel with global limits updates from sysfs,
so the invocation of intel_pstate_update_perf_limits() in it
should be carried out under intel_pstate_limits_lock.
Make that happen.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'drivers/cpufreq/exynos5440-cpufreq.c')
0 files changed, 0 insertions, 0 deletions