diff options
author | Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> | 2007-02-05 16:12:45 -0800 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2007-02-10 20:01:48 -0500 |
commit | 56463b78cdca8e9ff8cc1759bca0c0777a061d6b (patch) | |
tree | 435e98e919e96da931b1874eae6c888b734dea6d /init/initramfs.c | |
parent | 529af7a14f04f92213bac371931a2b2b060c63fa (diff) | |
download | linux-56463b78cdca8e9ff8cc1759bca0c0777a061d6b.tar.bz2 |
[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 'init/initramfs.c')
0 files changed, 0 insertions, 0 deletions