Re: [PATCH 08/10 V2] workqueue: rename manager_mutex to attach_mutex

2014-05-13 Thread Tejun Heo
Hello, On Tue, May 13, 2014 at 02:45:58PM +0800, Lai Jiangshan wrote: > On 05/13/2014 06:01 AM, Tejun Heo wrote: > > On Mon, May 12, 2014 at 02:56:20PM +0800, Lai Jiangshan wrote: > >> manager_mutex is only used to protect the attaching for the pool > >> and the pool->workers list. It protects the

Re: [PATCH 08/10 V2] workqueue: rename manager_mutex to attach_mutex

2014-05-12 Thread Lai Jiangshan
On 05/13/2014 06:01 AM, Tejun Heo wrote: > On Mon, May 12, 2014 at 02:56:20PM +0800, Lai Jiangshan wrote: >> 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-bindi

Re: [PATCH 08/10 V2] workqueue: rename manager_mutex to attach_mutex

2014-05-12 Thread Tejun Heo
On Mon, May 12, 2014 at 02:56:20PM +0800, Lai Jiangshan wrote: > 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 >

[PATCH 08/10 V2] workqueue: rename manager_mutex to attach_mutex

2014-05-11 Thread Lai Jiangshan
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 concurrency management for the workers in the pool->workers So we