Messages in this thread | | | Date | Fri, 18 Jul 2014 18:46:41 -0400 | From | Tejun Heo <> | Subject | Re: [PATCH] workqueue: wake regular worker if need_more_worker() when rescuer leave the pool |
| |
On Wed, Jul 16, 2014 at 02:56:36PM +0800, Lai Jiangshan wrote: > We don't need to wake up regular worker when nr_running==1, > so need_more_worker() is sufficient here. > > And need_more_worker() gives us better readability due to the name of > "keep_working()" implies the rescuer should keep working now but > the rescuer is actually leaving. > > Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Applied to wq/for-3.17.
Thanks.
-- tejun
| |