Re: [PATCH] workqueue: rename first_worker() to first_idle_worker()

2014-05-22 Thread Tejun Heo
On Thu, May 22, 2014 at 04:44:07PM +0800, Lai Jiangshan wrote: > first_worker() actually returns the first idle workers, the name > first_idle_worker() which is self-commnet will be better. > > All the callers of first_worker() expect it returns an idle worker, > the name first_idle_worker() with

[PATCH] workqueue: rename first_worker() to first_idle_worker()

2014-05-22 Thread Lai Jiangshan
first_worker() actually returns the first idle workers, the name first_idle_worker() which is self-commnet will be better. All the callers of first_worker() expect it returns an idle worker, the name first_idle_worker() with "idle" notation makes reviewers happier. Signed-off-by: Lai Jiangshan

[PATCH] workqueue: rename first_worker() to first_idle_worker()

2014-05-22 Thread Lai Jiangshan
first_worker() actually returns the first idle workers, the name first_idle_worker() which is self-commnet will be better. All the callers of first_worker() expect it returns an idle worker, the name first_idle_worker() with idle notation makes reviewers happier. Signed-off-by: Lai Jiangshan

Re: [PATCH] workqueue: rename first_worker() to first_idle_worker()

2014-05-22 Thread Tejun Heo
On Thu, May 22, 2014 at 04:44:07PM +0800, Lai Jiangshan wrote: first_worker() actually returns the first idle workers, the name first_idle_worker() which is self-commnet will be better. All the callers of first_worker() expect it returns an idle worker, the name first_idle_worker() with idle