[PATCH 3/3] workqueue: cleanup may_start_working()

2014-07-25 Thread Lai Jiangshan
The name of may_start_working() became misleading due to the semantics of "!pool->nr_idle" is changed and any worker can start working in spite of the value of pool->nr_idle. So we remove the may_start_working() and use "!pool->nr_idle" directly, need_to_create_worker() is also removed along with

[PATCH 3/3] workqueue: cleanup may_start_working()

2014-07-25 Thread Lai Jiangshan
The name of may_start_working() became misleading due to the semantics of !pool-nr_idle is changed and any worker can start working in spite of the value of pool-nr_idle. So we remove the may_start_working() and use !pool-nr_idle directly, need_to_create_worker() is also removed along with it.