diff options
| author | Venkatesh Pallipadi <[email protected]> | 2007-02-05 16:12:45 -0800 |
|---|---|---|
| committer | Dave Jones <[email protected]> | 2007-02-10 20:01:48 -0500 |
| commit | 56463b78cdca8e9ff8cc1759bca0c0777a061d6b (patch) | |
| tree | 435e98e919e96da931b1874eae6c888b734dea6d /include/linux/sysdev.h | |
| parent | 529af7a14f04f92213bac371931a2b2b060c63fa (diff) | |
[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 <[email protected]>
Cc: Gautham R Shenoy <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Dave Jones <[email protected]>
Diffstat (limited to 'include/linux/sysdev.h')
0 files changed, 0 insertions, 0 deletions