From: Tejun Heo Date: Mon, 14 Feb 2011 13:04:46 +0000 (+0100) Subject: workqueue: wake up a worker when a rescuer is leaving a gcwq X-Git-Tag: v2.6.37.2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1257389b28b59639173c961b49fefe06820f6fb6;p=pandora-kernel.git workqueue: wake up a worker when a rescuer is leaving a gcwq commit 7576958a9d5a4a677ad7dd40901cdbb6c1110c98 upstream. After executing the matching works, a rescuer leaves the gcwq whether there are more pending works or not. This may decrease the concurrency level to zero and stall execution until a new work item is queued on the gcwq. Make rescuer wake up a regular worker when it leaves a gcwq if there are more works to execute, so that execution isn't stalled. Signed-off-by: Tejun Heo Reported-by: Ray Jui Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed