rcu/exp: Move expedited kthread worker creation functions above rcutree_prepare_cpu()
authorFrederic Weisbecker <frederic@kernel.org>
Fri, 12 Jan 2024 15:46:18 +0000 (16:46 +0100)
committerBoqun Feng <boqun.feng@gmail.com>
Wed, 14 Feb 2024 15:51:36 +0000 (07:51 -0800)
commitc19e5d3b497a3036f800edf751dc7814e3e887e1
treed1980a58af2d0633b6343d749ffb48e46b5bc13e
parent7836b270607676ed1c0c6a4a840a2ede9437a6a1
rcu/exp: Move expedited kthread worker creation functions above rcutree_prepare_cpu()

The expedited kthread worker performing the per node initialization is
going to be split into per node kthreads. As such, the future per node
kthread creation will need to be called from CPU hotplug callbacks
instead of an initcall, right beside the per node boost kthread
creation.

To prepare for that, move the kthread worker creation above
rcutree_prepare_cpu() as a first step to make the review smoother for
the upcoming modifications.

No intended functional change.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
kernel/rcu/tree.c