Re: [PATCH 4/7] workqueue: single pass rebind_workers

2012-08-28 Thread Lai Jiangshan
On 08/28/2012 03:04 AM, Tejun Heo wrote: > Hello, Lai. > > On Tue, Aug 28, 2012 at 01:58:24AM +0800, Lai Jiangshan wrote: >> busy_worker_rebind_fn() can't return until all idle workers are rebound, >> the code of busy_worker_rebind_fn() ensure this. >> >> So we can change the order of the code of

Re: [PATCH 4/7] workqueue: single pass rebind_workers

2012-08-27 Thread Tejun Heo
Hello, Lai. On Tue, Aug 28, 2012 at 01:58:24AM +0800, Lai Jiangshan wrote: > busy_worker_rebind_fn() can't return until all idle workers are rebound, > the code of busy_worker_rebind_fn() ensure this. > > So we can change the order of the code of rebind_workers(), > and make it a single pass do t