workqueue: allow WQ_MEM_RECLAIM on early init workqueues
authorTejun Heo <tj@kernel.org>
Mon, 8 Jan 2018 13:38:37 +0000 (05:38 -0800)
committerTejun Heo <tj@kernel.org>
Mon, 8 Jan 2018 13:38:37 +0000 (05:38 -0800)
commit40c17f75dfa9ec163478efd3f7443fd6af9992c9
tree92ad5e8e9475b19306fea16c42bde00059c15fb9
parent983c751532738b83c4c5b51192ebc6fbfe9330f7
workqueue: allow WQ_MEM_RECLAIM on early init workqueues

Workqueues can be created early during boot before workqueue subsystem
in fully online - work items are queued waiting for later full
initialization.  However, early init wasn't supported for
WQ_MEM_RECLAIM workqueues causing unnecessary annoyances for a subset
of users.  Expand early init support to include WQ_MEM_RECLAIM
workqueues.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Paul McKenney <paulmck@linux.vnet.ibm.com>
kernel/workqueue.c