]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf57103e2c411d929492ddd4101e051722b754214
tree65d155c6f277de757778eb8d91d1556f7198362c
parentef4f847e5c4bacc467f5d44b53ee0f1bae05d2b8
[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