From: Venkatesh Pallipadi Date: Tue, 6 Feb 2007 00:12:45 +0000 (-0800) Subject: [CPUFREQ] ondemand governor use new cpufreq rwsem locking in work callback X-Git-Tag: v2.6.21-rc1~95^2~8 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56463b78cdca8e9ff8cc1759bca0c0777a061d6b;p=pandora-kernel.git [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 Cc: Gautham R Shenoy Signed-off-by: Andrew Morton Signed-off-by: Dave Jones --- Reading git-diff-tree failed