commit | 4dad72b13d4fceec81a4b5a24fce135cae3ad050 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.ibm.com> | Sat Apr 20 01:40:54 2019 -0700 |
committer | Paul E. McKenney <paulmck@linux.ibm.com> | Wed Apr 24 01:12:54 2019 -0700 |
tree | bc8c3bf2d07f2e2c160cb5fa96dc61fc5edc5804 | |
parent | 77a7191705e86e98589967bdc5a3d3a21478c620 [diff] |
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(). Reported-by: Andrea Parri <andrea.parri@amarulasolutions.com> Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>