commit | 0d1857a1b987ef874aeb4b99c9c385fa5645bf61 | [log] [tgz] |
---|---|---|
author | Nathan Zimmer <nzimmer@sgi.com> | Fri Feb 22 16:24:34 2013 +0000 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Apr 01 01:11:34 2013 +0200 |
tree | b26ccf9c501ae14055b8c5a5e5a1e40a8b164f08 | |
parent | 07961ac7c0ee8b546658717034fe692fd12eefa9 [diff] |
cpufreq: Convert the cpufreq_driver_lock to a rwlock This eliminates the contention I am seeing in __cpufreq_cpu_get. It also nicely stages the lock to be replaced by the rcu. Signed-off-by: Nathan Zimmer <nzimmer@sgi.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>