[CPUFREQ] Cleanup locking in ondemand governor
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Fri, 3 Jul 2009 00:08:32 +0000 (17:08 -0700)
committerDave Jones <davej@redhat.com>
Tue, 7 Jul 2009 01:38:28 +0000 (21:38 -0400)
commit5a75c82828e7c088ca6e7b4827911dc29cc8e774
tree65d155c6f277de757778eb8d91d1556f7198362c
parent37c90e8887efd218dc4af949b7f498ca2da4af9f
[CPUFREQ] Cleanup locking in ondemand governor

Redesign the locking inside ondemand driver. Make dbs_mutex handle all the
global state changes inside the driver and invent a new percpu mutex
to serialize percpu timer and frequency limit change.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq_ondemand.c