Re: [PATCH 02/11 V5] workqueue: async idle rebinding

2012-09-05 Thread Lai Jiangshan
On 09/06/2012 02:06 AM, Tejun Heo wrote: > Hello, Lai. > > Ooh, I like the approach. That said, I think it's a bit too invasive > for 3.6-fixes. I'll merge the two patches I posted yesterday in > 3.6-fixes. Let's do this restructuring in for-3.7. OK for me. it is too complicated for 3.6. > >

Re: [PATCH 02/11 V5] workqueue: async idle rebinding

2012-09-05 Thread Tejun Heo
Hello, Lai. Ooh, I like the approach. That said, I think it's a bit too invasive for 3.6-fixes. I'll merge the two patches I posted yesterday in 3.6-fixes. Let's do this restructuring in for-3.7. On Wed, Sep 05, 2012 at 06:37:39PM +0800, Lai Jiangshan wrote: > static void idle_worker_rebind(s

[PATCH 02/11 V5] workqueue: async idle rebinding

2012-09-05 Thread Lai Jiangshan
fix deadlock in rebind_workers() Current idle_worker_rebind() has a bug. idle_worker_rebind() path HOTPLUG path online rebind_workers() wait_event(gcwq->rebind_hold)