[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140718224641.GA5739@htj.dyndns.org>
Date: Fri, 18 Jul 2014 18:46:41 -0400
From: Tejun Heo <tj@...nel.org>
To: Lai Jiangshan <laijs@...fujitsu.com>
Cc: linux-kernel@...r.kernel.org
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@...fujitsu.com>
Applied to wq/for-3.17.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists