Re: [PATCH 06/10 V2] workqueue: convert worker_idr to worker_ida

2014-05-13 Thread Tejun Heo
Hello, On Tue, May 13, 2014 at 02:43:06PM +0800, Lai Jiangshan wrote: > On 05/13/2014 05:40 AM, Tejun Heo wrote: > > On Mon, May 12, 2014 at 02:56:18PM +0800, Lai Jiangshan wrote: > >> @@ -1681,7 +1682,6 @@ static void worker_detach_from_pool(struct worker > >> *worker, > >>struct completion

Re: [PATCH 06/10 V2] workqueue: convert worker_idr to worker_ida

2014-05-12 Thread Lai Jiangshan
On 05/13/2014 05:40 AM, Tejun Heo wrote: > On Mon, May 12, 2014 at 02:56:18PM +0800, Lai Jiangshan wrote: >> @@ -1681,7 +1682,6 @@ static void worker_detach_from_pool(struct worker >> *worker, >> struct completion *detach_completion = NULL; >> >> mutex_lock(&pool->manager_mutex); >> -

Re: [PATCH 06/10 V2] workqueue: convert worker_idr to worker_ida

2014-05-12 Thread Tejun Heo
On Mon, May 12, 2014 at 02:56:18PM +0800, Lai Jiangshan wrote: > @@ -1681,7 +1682,6 @@ static void worker_detach_from_pool(struct worker > *worker, > struct completion *detach_completion = NULL; > > mutex_lock(&pool->manager_mutex); > - idr_remove(&pool->worker_idr, worker->id);