Skip to content
Commit ebf44d16 authored by Tejun Heo's avatar Tejun Heo
Browse files

workqueue: factor out initial worker creation into create_and_start_worker()



get_unbound_pool(), workqueue_cpu_up_callback() and init_workqueues()
have similar code pieces to create and start the initial worker factor
those out into create_and_start_worker().

This patch doesn't introduce any functional changes.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent bc3a1afc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment