|
@@ -1352,12 +1352,8 @@ static void __init rcu_spawn_boost_kthreads(void)
|
|
|
for_each_possible_cpu(cpu)
|
|
|
per_cpu(rcu_cpu_has_work, cpu) = 0;
|
|
|
BUG_ON(smpboot_register_percpu_thread(&rcu_cpu_thread_spec));
|
|
|
- rnp = rcu_get_root(rcu_state_p);
|
|
|
- (void)rcu_spawn_one_boost_kthread(rcu_state_p, rnp);
|
|
|
- if (NUM_RCU_NODES > 1) {
|
|
|
- rcu_for_each_leaf_node(rcu_state_p, rnp)
|
|
|
- (void)rcu_spawn_one_boost_kthread(rcu_state_p, rnp);
|
|
|
- }
|
|
|
+ rcu_for_each_leaf_node(rcu_state_p, rnp)
|
|
|
+ (void)rcu_spawn_one_boost_kthread(rcu_state_p, rnp);
|
|
|
}
|
|
|
|
|
|
static void rcu_prepare_kthreads(int cpu)
|