rcu: Add memory barriers for NOCB leader wakeup
commit 6b5fc3a1 upstream. Wait/wakeup operations do not guarantee ordering on their own. Instead, either locking or memory barriers are required. This commit therefore adds memory barriers to wake_nocb_leader() and nocb_leader_wait(). Signed-off-by:Paul E. McKenney <paulmck@linux.vnet.ibm.com> Tested-by:
Krister Johansen <kjlx@templeofstupid.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
parent
994b8608
Please register or sign in to comment