workqueue: rename manager_mutex to attach_mutex
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 20 May 2014 09:46:34 +0000 (17:46 +0800)
committerTejun Heo <tj@kernel.org>
Tue, 20 May 2014 14:59:32 +0000 (10:59 -0400)
commit92f9c5c40cc67ffcc5ac7f55fdbd6ae8afc7e0b4
tree6d1291b7b87ef94cb92a7a2d42aafe3d49cadb0b
parent4d757c5c81edba2052aae10d5b36dfcb9902b141
workqueue: rename manager_mutex to attach_mutex

manager_mutex is only used to protect the attaching for the pool
and the pool->workers list. It protects the pool->workers and operations
based on this list, such as:

cpu-binding for the workers in the pool->workers
the operations to set/clear WORKER_UNBOUND

So let's rename manager_mutex to attach_mutex to better reflect its
role. This patch is a pure rename.

tj: Minor command and description updates.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c
kernel/workqueue_internal.h