]> www.infradead.org Git - users/hch/xfs.git/commit
workqueue: Register sysfs after the whole creation of the new wq
authorLai Jiangshan <jiangshan.ljs@antgroup.com>
Thu, 4 Jul 2024 03:49:10 +0000 (11:49 +0800)
committerTejun Heo <tj@kernel.org>
Fri, 5 Jul 2024 19:14:40 +0000 (09:14 -1000)
commitc3138f3881920d1391e435aa4144b929d5237617
tree4aaf97ff7a37f7d193d283565ac6c98fbc0a7202
parentb3d209164dc0aca115057b00d6b466793a747c87
workqueue: Register sysfs after the whole creation of the new wq

workqueue creation includes adding it to the workqueue list.

Prepare for moving the whole workqueue initializing procedure into
wq_pool_mutex and cpu hotplug locks.

Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c