workqueue: don't use WQ_HIGHPRI for unbound workqueues
authorTejun Heo <tj@kernel.org>
Thu, 12 Jul 2012 21:46:37 +0000 (14:46 -0700)
committerTejun Heo <tj@kernel.org>
Thu, 12 Jul 2012 21:46:37 +0000 (14:46 -0700)
commit974271c485a4d8bb801decc616748f90aafb07ec
treeed3e41b86293b207127a03bde638e4dd6acf6d58
parent918227bb1b59444a2c467711fd50cc22bb4a897b
workqueue: don't use WQ_HIGHPRI for unbound workqueues

Unbound wqs aren't concurrency-managed and try to execute work items
as soon as possible.  This is currently achieved by implicitly setting
%WQ_HIGHPRI on all unbound workqueues; however, WQ_HIGHPRI
implementation is about to be restructured and this usage won't be
valid anymore.

Add an explicit chain-wakeup path for unbound workqueues in
process_one_work() instead of piggy backing on %WQ_HIGHPRI.

Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c