Re: [PATCH 10/10 V2] workqueue: use generic attach/detach routine for rescuers

2014-05-12 Thread Lai Jiangshan
On 05/13/2014 06:05 AM, Tejun Heo wrote: > On Mon, May 12, 2014 at 02:56:22PM +0800, Lai Jiangshan wrote: >> There are several problems with the code that rescuers bind itself to the >> pool' >> cpumask >> 1) It uses a way different from the normal workers to bind to the cpumask >> So we ca

Re: [PATCH 10/10 V2] workqueue: use generic attach/detach routine for rescuers

2014-05-12 Thread Tejun Heo
On Mon, May 12, 2014 at 02:56:22PM +0800, Lai Jiangshan wrote: > There are several problems with the code that rescuers bind itself to the > pool' > cpumask > 1) It uses a way different from the normal workers to bind to the cpumask > So we can't maintain the normal/rescuer workers under th

[PATCH 10/10 V2] workqueue: use generic attach/detach routine for rescuers

2014-05-11 Thread Lai Jiangshan
There are several problems with the code that rescuers bind itself to the pool' cpumask 1) It uses a way different from the normal workers to bind to the cpumask So we can't maintain the normal/rescuer workers under the same framework. 2) The the code of cpu-binding for rescuer is complica