rcu: Rationalize kthread spawning
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 13 Jul 2014 19:00:53 +0000 (12:00 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 16 Sep 2014 17:08:01 +0000 (10:08 -0700)
commit9386c0b75dda05f535a10ea1abf1817fe292c81c
tree85bd2cdd5f2f4c11b94230bce3a1ebb220cfc181
parentf4aa84ba24872e3a8e59b58bc8533cae95597f2e
rcu: Rationalize kthread spawning

Currently, RCU spawns kthreads from several different early_initcall()
functions.  Although this has served RCU well for quite some time,
as more kthreads are added a more deterministic approach is required.
This commit therefore causes all of RCU's early-boot kthreads to be
spawned from a single early_initcall() function.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Tested-by: Paul Gortmaker <paul.gortmaker@windriver.com>
kernel/rcu/tree.c
kernel/rcu/tree.h
kernel/rcu/tree_plugin.h