Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 590d1757 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: Fix outdated hotplug-exclusion comment in rcu_gp_init()



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: default avatarLihao Liang <lihao.liang@gmail.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent 0d95092c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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.