Skip to content
Commit 23651d9b authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu/nocb: Advance CBs after merge in rcutree_migrate_callbacks()



The rcutree_migrate_callbacks() invokes rcu_advance_cbs() on both the
offlined CPU's ->cblist and that of the surviving CPU, then merges
them.  However, after the merge, and of the offlined CPU's callbacks
that were not ready to be invoked will no longer be associated with a
grace-period number.  This commit therefore invokes rcu_advance_cbs()
one more time on the merged ->cblist in order to assign a grace-period
number to these callbacks.

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent 273f0340
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment