From: Tejun Heo Date: Tue, 29 Jun 2010 08:07:13 +0000 (+0200) Subject: workqueue: add find_worker_executing_work() and track current_cwq X-Git-Tag: v2.6.36-rc1~506^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cca0eea3964b72b14e8c3f88e3a40bef7b9113e;p=pandora-kernel.git workqueue: add find_worker_executing_work() and track current_cwq Now that all the workers are tracked by gcwq, we can find which worker is executing a work from gcwq. Implement find_worker_executing_work() and make worker track its current_cwq so that we can find things the other way around. This will be used to implement non-reentrant wqs. Signed-off-by: Tejun Heo --- Reading git-diff-tree failed