commit | ebf44d16ec4619c8a8daeacd987dd86d420ea2c3 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Wed Mar 13 19:47:39 2013 -0700 |
committer | Tejun Heo <tj@kernel.org> | Wed Mar 13 19:47:39 2013 -0700 |
tree | 501bb8fbeda2ff67d71af733c3c56150053a4351 | |
parent | bc3a1afc92aea46d6df18d38e5d15867b17c69f6 [diff] |
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: Tejun Heo <tj@kernel.org>