diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-07-13 12:00:53 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-09-16 10:08:01 -0700 |
commit | 9386c0b75dda05f535a10ea1abf1817fe292c81c (patch) | |
tree | 85bd2cdd5f2f4c11b94230bce3a1ebb220cfc181 /kernel/rcu/tree.h | |
parent | f4aa84ba24872e3a8e59b58bc8533cae95597f2e (diff) | |
download | op-kernel-dev-9386c0b75dda05f535a10ea1abf1817fe292c81c.zip op-kernel-dev-9386c0b75dda05f535a10ea1abf1817fe292c81c.tar.gz |
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>
Diffstat (limited to 'kernel/rcu/tree.h')
-rw-r--r-- | kernel/rcu/tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h index 6a86eb7..a966092 100644 --- a/kernel/rcu/tree.h +++ b/kernel/rcu/tree.h @@ -572,6 +572,7 @@ static void rcu_preempt_do_callbacks(void); static int rcu_spawn_one_boost_kthread(struct rcu_state *rsp, struct rcu_node *rnp); #endif /* #ifdef CONFIG_RCU_BOOST */ +static void __init rcu_spawn_boost_kthreads(void); static void rcu_prepare_kthreads(int cpu); static void rcu_cleanup_after_idle(int cpu); static void rcu_prepare_for_idle(int cpu); |