From: Lai Jiangshan Date: Wed, 16 Jul 2014 06:56:36 +0000 (+0800) Subject: workqueue: wake regular worker if need_more_worker() when rescuer leave the pool X-Git-Tag: omap-for-v3.17/fixes-against-rc2~192^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8ca83e68c8c7efd8e5920a046d5c576b08609f0;p=pandora-kernel.git workqueue: wake regular worker if need_more_worker() when rescuer leave the pool 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 Signed-off-by: Tejun Heo --- Reading git-diff-tree failed