android_kernel_xiaomi_sm8350/drivers/cpufreq
Venkatesh Pallipadi 56463b78cd [CPUFREQ] ondemand governor use new cpufreq rwsem locking in work callback
Eliminate flush_workqueue in cpufreq_governor(STOP) callpath. Using flush
there has a deadlock potential as in

http://uwsg.iu.edu/hypermail/linux/kernel/0611.3/1223.html

Also, cleanup the locking issues with do_dbs_timer delayed_work callback.  As
it changes the CPU frequency using __cpufreq_target, it needs to have
policy_rwsem in write mode, which also protects it from hot plug.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Cc: Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
2007-02-10 20:01:48 -05:00
..
cpufreq_conservative.c [CPUFREQ] Remove hotplug cpu crap 2007-02-10 20:01:47 -05:00
cpufreq_ondemand.c [CPUFREQ] ondemand governor use new cpufreq rwsem locking in work callback 2007-02-10 20:01:48 -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