]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commit3e9f5c70d85060ff0db71826e2048daffec336e7
treedb84eacf19f182ce185afa165fe2b1aa1a8569b1
parent96e92021d4fad8543d598b5e4926cb34fd40c4c4
rcu: Don't spawn rcub kthreads on root rcu_node structure

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