Messages in this thread | | | Date | Fri, 28 Sep 2012 18:04:01 +0800 | From | Lai Jiangshan <> | Subject | Re: [PATCH 03/12] workqueue: remove WORKER_PREP from rescuer |
| |
On 09/27/2012 02:24 AM, Tejun Heo wrote: > On Thu, Sep 27, 2012 at 01:20:34AM +0800, Lai Jiangshan wrote: >> There is no reason to use WORKER_PREP, remove it from rescuer. >> >> And there is no reason to set it so early in alloc_worker(), >> move "worker->flags = WORKER_PREP" to start_worker(). > > Merge this with the patch to add RESCUER to NOT_RUNNING? >
Hi, Tejun:
Don't merge. the change log is not good. I should list all the purposes of WORKER_PREP(I did it in my note), and then we can claim that we don't need to add WORKER_PREP show early.
These two patches do different things.
Thanks, Lai
| |