diff options
author | Kyle Lin <linkyle0915@gmail.com> | 2019-04-09 16:43:04 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-04-09 11:31:48 +0200 |
commit | fcccc5c838c1999785a5aeb9e3bdcd00957f3e15 (patch) | |
tree | 1de386fdc69b147772d49562c6f579a28263096c /drivers/cpufreq/pmac32-cpufreq.c | |
parent | 89f98d7e5fa8f7e1ba627537dc8a3cef5add7b04 (diff) | |
download | blackbird-op-linux-fcccc5c838c1999785a5aeb9e3bdcd00957f3e15.tar.gz blackbird-op-linux-fcccc5c838c1999785a5aeb9e3bdcd00957f3e15.zip |
cpufreq: stats: Use lock by stat to replace global spin lock
Stats is updated by each policy, using the lock by stat can
reduce the contention.
Signed-off-by: Kyle Lin <linkyle0915@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/pmac32-cpufreq.c')
0 files changed, 0 insertions, 0 deletions