]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit6810b548b25114607e0814612d84125abccc0a4f
tree51dab8f9b809479b038e2d957e74fba7e1e99e49
parentac71d12c990526b01ef6cfe50907ef8530a30331
[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