Skip to content
Commit 886ef5a1 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: Move smp_mb() from rcu_seq_snap() to rcu_exp_gp_seq_snap()



The memory barrier in rcu_seq_snap() is needed only for grace periods,
so this commit moves it to the grace-period-oriented wrapper
rcu_exp_gp_seq_snap().

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent 1de6e56d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment