]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitee88415caf736b89500f16e0a545614541a45005
treeb54b7d57e0886b042e55580627295677de75072c
parent5a75c82828e7c088ca6e7b4827911dc29cc8e774
[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