viresh kumar
ad7722dab7
cpufreq: create per policy rwsem instead of per CPU cpu_policy_rwsem
...
We have per-CPU cpu_policy_rwsem for cpufreq core, but we never use
all of them. We always use rwsem of policy->cpu and so we can
actually make this rwsem per policy instead.
This patch does this change. With this change other tricky situations
are also avoided now, like which lock to take while we are changing
policy->cpu, etc.
Suggested-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-10-25 23:54:12 +02:00
..
2013-10-25 22:42:24 +02:00
2013-04-10 13:19:26 +02:00
2013-10-25 22:33:23 +02:00
2013-10-25 22:42:24 +02:00
2013-05-12 14:04:15 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-08-28 22:03:02 +02:00
2013-08-29 22:19:23 +02:00
2013-10-16 00:50:23 +02:00
2013-08-28 22:03:02 +02:00
2013-08-07 23:34:09 +02:00
2013-08-07 23:34:09 +02:00
2013-09-10 02:49:46 +02:00
2013-10-17 23:00:20 +02:00
2013-10-25 22:42:24 +02:00
2013-10-16 00:50:29 +02:00
2013-10-25 23:54:12 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-17 13:52:48 +02:00
2013-10-17 13:52:49 +02:00
2013-02-21 14:58:40 -08:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-08-12 12:00:21 +05:30
2013-10-16 00:50:23 +02:00
2013-10-16 00:50:30 +02:00
2013-10-17 00:53:08 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-16 00:50:30 +02:00
2013-10-25 23:46:10 +02:00
2013-10-16 00:50:33 +02:00
2013-10-16 00:50:33 +02:00
2013-10-16 00:50:33 +02:00
2013-10-16 00:50:33 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-07-14 19:36:57 -04:00
2013-10-16 00:50:23 +02:00
2013-10-25 22:42:24 +02:00
2013-10-16 00:50:33 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-16 00:50:31 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2011-05-19 18:51:07 -04:00
2013-10-25 22:42:24 +02:00
2012-09-09 22:05:30 +02:00
2013-04-10 13:19:26 +02:00
2013-04-10 13:19:26 +02:00
2013-10-25 22:42:24 +02:00
2013-04-10 13:19:26 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-05-20 23:04:28 +09:00
2013-10-16 00:50:35 +02:00
2013-10-25 22:42:24 +02:00
2013-05-20 23:04:28 +09:00
2013-05-20 23:04:28 +09:00
2013-10-25 22:42:24 +02:00
2013-05-20 23:04:28 +09:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-16 00:50:32 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2012-01-26 16:49:06 -08:00
2011-05-19 18:51:07 -04:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2013-10-16 00:50:32 +02:00