]> git.karo-electronics.de Git - linux-beck.git/commitdiff
rcu: Fix outdated hotplug-exclusion comment in rcu_gp_init()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 10 Apr 2016 15:23:24 +0000 (08:23 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 14 Jun 2016 23:01:40 +0000 (16:01 -0700)
In the past, RCU grace-period initialization excluded CPU-hotplug
operations, but this is no longer the case.  This commit therefore
removed an outdated comment in rcu_gp_init() claiming that these
are excluded.

Reported-by: Lihao Liang <lihao.liang@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c

index 0fa692f1094e07499c1396ffefbe4b68991e951e..6043c14165d1cd2a44da025033f215596f2cf457 100644 (file)
@@ -1989,8 +1989,7 @@ static bool rcu_gp_init(struct rcu_state *rsp)
         * of the tree within the rsp->node[] array.  Note that other CPUs
         * will access only the leaves of the hierarchy, thus seeing that no
         * grace period is in progress, at least until the corresponding
-        * leaf node has been initialized.  In addition, we have excluded
-        * CPU-hotplug operations.
+        * leaf node has been initialized.
         *
         * The grace period cannot complete until the initialization
         * process finishes, because this kthread handles both.