Skip to content

Commit 66d701e

Browse files
pranithpaulmck
authored andcommitted
rcu: Remove stale comment in tree.c
This commit removes a stale comment in rcu/tree.c which was left out when some code was moved around previously in commit 2036d94 ("rcu: Rework detection of use of RCU by offline CPUs") For reference, the following updated comment exists a few lines below this which means the same: /* Remove the outgoing CPU from the masks in the rcu_node hierarchy. */ Signed-off-by: Pranith Kumar <bobby.prani@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
1 parent fafb6e8 commit 66d701e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎kernel/rcu/tree.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2220,8 +2220,6 @@ static void rcu_cleanup_dead_cpu(int cpu, struct rcu_state *rsp)
22202220
/* Adjust any no-longer-needed kthreads. */
22212221
rcu_boost_kthread_setaffinity(rnp, -1);
22222222

2223-
/* Remove the dead CPU from the bitmasks in the rcu_node hierarchy. */
2224-
22252223
/* Exclude any attempts to start a new grace period. */
22262224
mutex_lock(&rsp->onoff_mutex);
22272225
raw_spin_lock_irqsave(&rsp->orphan_lock, flags);

0 commit comments

Comments
 (0)