diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-04-10 11:23:24 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-06-14 19:01:40 -0400 |
commit | 590d1757b9d177e7fe3707963d0209d6eefbc746 (patch) | |
tree | e518128b63f59e204f096731402fdd63e8c7fe98 /kernel/rcu | |
parent | 0d95092ccba1a30b74fa52ff94ec5415e63744a0 (diff) |
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: Lihao Liang <lihao.liang@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu')
-rw-r--r-- | kernel/rcu/tree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 0fa692f1094e..6043c14165d1 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c | |||
@@ -1989,8 +1989,7 @@ static bool rcu_gp_init(struct rcu_state *rsp) | |||
1989 | * of the tree within the rsp->node[] array. Note that other CPUs | 1989 | * of the tree within the rsp->node[] array. Note that other CPUs |
1990 | * will access only the leaves of the hierarchy, thus seeing that no | 1990 | * will access only the leaves of the hierarchy, thus seeing that no |
1991 | * grace period is in progress, at least until the corresponding | 1991 | * grace period is in progress, at least until the corresponding |
1992 | * leaf node has been initialized. In addition, we have excluded | 1992 | * leaf node has been initialized. |
1993 | * CPU-hotplug operations. | ||
1994 | * | 1993 | * |
1995 | * The grace period cannot complete until the initialization | 1994 | * The grace period cannot complete until the initialization |
1996 | * process finishes, because this kthread handles both. | 1995 | * process finishes, because this kthread handles both. |