rcu: Don't spawn rcub kthreads on root rcu_node structure
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 4 Nov 2014 02:15:17 +0000 (18:15 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 6 Jan 2015 19:02:47 +0000 (11:02 -0800)
Now that offlining CPUs no longer moves leaf rcu_node structures'
->blkd_tasks lists to the root, there is no way for the root rcu_node
structure's ->blkd_task list to be nonempty, unless the root node is also
the sole leaf node.  This commit therefore refrains from creating an rcub
kthread for the root rcu_node structure unless it is also the sole leaf.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree_plugin.h

Simple merge