Skip to content
Commit fcccc5c8 authored by Kyle Lin's avatar Kyle Lin Committed by Rafael J. Wysocki
Browse files

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: default avatarKyle Lin <linkyle0915@gmail.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 89f98d7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment