summaryrefslogtreecommitdiff
path: root/Documentation/aoe
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2012-09-18 09:59:23 -0700
committerTejun Heo <tj@kernel.org>2012-09-18 09:59:23 -0700
commit5f7dabfd5cb115937afb4649e4c73b02f927f6ae (patch)
tree9b47bba67879363d70d68e3c9209debaf80aca0a /Documentation/aoe
parenteab6d82843ee1df244f8847d1bf8bb89160ec4aa (diff)
downloadlwn-5f7dabfd5cb115937afb4649e4c73b02f927f6ae.tar.gz
lwn-5f7dabfd5cb115937afb4649e4c73b02f927f6ae.zip
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 <laijs@cn.fujitsu.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation/aoe')
0 files changed, 0 insertions, 0 deletions