kernel-ark/drivers/cpufreq
Venkatesh Pallipadi 5a01f2e8f3 [CPUFREQ] Rewrite lock in cpufreq to eliminate cpufreq/hotplug related issues
Yet another attempt to resolve cpufreq and hotplug locking issues.

Patchset has 3 patches:
* Rewrite the lock infrastructure of cpufreq using a per cpu rwsem.
* Minor restructuring of work callback in ondemand driver.
* Use the new cpufreq rwsem infrastructure in ondemand work.

This patch:

Convert policy->lock to rwsem and move it to per_cpu area.
This rwsem will protect against both changing/accessing policy
related parameters and CPU hot plug/unplug.

[malattia@linux.it: fix oops in kref_put()]
Cc: Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Cc: Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
2007-02-10 20:01:47 -05:00
..
cpufreq_conservative.c [CPUFREQ] Remove hotplug cpu crap 2007-02-10 20:01:47 -05:00
cpufreq_ondemand.c [CPUFREQ] Remove hotplug cpu crap 2007-02-10 20:01:47 -05:00
cpufreq_performance.c [CPUFREQ] Fix coding style issues in cpufreq. 2006-11-06 19:16:34 -05:00
cpufreq_powersave.c [CPUFREQ] Fix coding style issues in cpufreq. 2006-11-06 19:16:34 -05:00
cpufreq_stats.c [CPUFREQ] Remove hotplug cpu crap 2007-02-10 20:01:47 -05:00
cpufreq_userspace.c [CPUFREQ] Remove hotplug cpu crap 2007-02-10 20:01:47 -05:00
cpufreq.c [CPUFREQ] Rewrite lock in cpufreq to eliminate cpufreq/hotplug related issues 2007-02-10 20:01:47 -05:00
freq_table.c [CPUFREQ] Fix coding style issues in cpufreq. 2006-11-06 19:16:34 -05:00
Kconfig [PATCH] Fix CPU_FREQ_GOV_ONDEMAND=y compile error 2006-11-21 14:07:15 -08:00
Makefile