]> git.baikalelectronics.ru Git - kernel.git/commit
[CPUFREQ] Cleanup locking in conservative governor
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Fri, 3 Jul 2009 00:08:33 +0000 (17:08 -0700)
committerDave Jones <davej@redhat.com>
Tue, 7 Jul 2009 01:38:28 +0000 (21:38 -0400)
commit518e734d9463e7ffabcfd1a4639346fd5e8ddcf3
treeb54b7d57e0886b042e55580627295677de75072c
parentf57103e2c411d929492ddd4101e051722b754214
[CPUFREQ] Cleanup locking in conservative governor

Redesign the locking inside conservative 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_conservative.c