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

Commit 96050c68 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: Upgrade sync_exp_work_done() to smp_mb()



The sync_exp_work_done() function uses smp_mb__before_atomic(), but
there is no obvious atomic in the ensuing code.  The ordering is
absolutely required for grace periods to work correctly, so this
commit upgrades the smp_mb__before_atomic() to smp_mb().

Fixes: 6fba2b37 ("rcu: Remove deprecated RCU debugfs tracing code")
Reported-by: default avatarAndrea Parri <andrea.parri@amarulasolutions.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent 714b6904
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment