]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86_64: Move ondemand timer into own work queue
authorAndi Kleen <ak@suse.de>
Mon, 8 May 2006 13:17:31 +0000 (15:17 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 8 May 2006 16:34:56 +0000 (09:34 -0700)
commit170f2c6548ad56925640c0c68555940a8a4aae63
tree51dab8f9b809479b038e2d957e74fba7e1e99e49
parent59aeb1d3c0fab054d600ef60d27b874f466ca565
[PATCH] x86_64: Move ondemand timer into own work queue

Taking the cpu hotplug semaphore in a normal events workqueue
is unsafe because other tasks can wait for any workqueues with
it hold. This results in a deadlock.

Move the DBS timer into its own work queue which is not
affected by other work queue flushes to avoid this.

Has been acked by Venkatesh.

Cc: venkatesh.pallipadi@intel.com
Cc: cpufreq@lists.linux.org.uk
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/cpufreq/cpufreq_ondemand.c