From: Lai Jiangshan Date: Tue, 18 Sep 2012 16:59:23 +0000 (-0700) Subject: workqueue: WORKER_REBIND is no longer necessary for idle rebinding X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~52^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f7dabfd5cb115937afb4649e4c73b02f927f6ae;p=pandora-kernel.git workqueue: WORKER_REBIND is no longer necessary for idle rebinding Now both worker destruction and idle rebinding remove the worker from idle list while it's still idle, so list_empty(&worker->entry) can be used to test whether either is pending and WORKER_DIE to distinguish between the two instead making WORKER_REBIND unnecessary. Use list_empty(&worker->entry) to determine whether destruction or rebinding is pending. This simplifies worker state transitions. WORKER_REBIND is not needed anymore. Remove it. tj: Updated comments and description. Signed-off-by: Lai Jiangshan Signed-off-by: Tejun Heo --- Reading git-diff-tree failed