Messages in this thread | | | Date | Tue, 30 Jan 2018 10:11:35 -0800 | From | Tejun Heo <> | Subject | [GIT PULL] workqueue changes for v4.16-rc1 |
| |
Hello, Linus.
Workqueue changes for v4.16-rc1. Two patches for the following.
* Workqueue has an early init trick where workqueues can be created and work items queued on them before the workqueue subsystem is online. This helps simplifying early init and operation of low level subsystems which use workqueues for managerial things which aren't depended upon early during boot.
Out of laziness, the early init didn't cover workqueues with WQ_MEM_RECLAIM, which is inconsistent and confusing because adding the flag simply makes the system fail to boot. Cover WQ_MEM_RECLAIM too.
This was originally brought up for RCU but RCU didn't actually need this. I still think it's a good idea to cover it.
Thanks.
The following changes since commit b2cd1df66037e7c4697c7e40496bf7e4a5e16a2d:
Linux 4.15-rc7 (2018-01-07 14:22:41 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git for-4.16
for you to fetch changes up to 40c17f75dfa9ec163478efd3f7443fd6af9992c9:
workqueue: allow WQ_MEM_RECLAIM on early init workqueues (2018-01-08 05:38:37 -0800)
---------------------------------------------------------------- Tejun Heo (2): workqueue: separate out init_rescuer() workqueue: allow WQ_MEM_RECLAIM on early init workqueues
kernel/workqueue.c | 64 ++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 24 deletions(-)
-- tejun
| |