summaryrefslogtreecommitdiff
path: root/lib/ts_fsm.c
diff options
context:
space:
mode:
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>2007-02-06 00:12:45 (GMT)
committerDave Jones <davej@redhat.com>2007-02-11 01:01:48 (GMT)
commit56463b78cdca8e9ff8cc1759bca0c0777a061d6b (patch)
tree435e98e919e96da931b1874eae6c888b734dea6d /lib/ts_fsm.c
parent529af7a14f04f92213bac371931a2b2b060c63fa (diff)
downloadlinux-56463b78cdca8e9ff8cc1759bca0c0777a061d6b.tar.xz
[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>
Diffstat (limited to 'lib/ts_fsm.c')
0 files changed, 0 insertions, 0 deletions