diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-04-29 03:11:09 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-21 05:42:22 (GMT) |
commit | ac5e9e801f47311bdbd1dc490a1b90df676b815c (patch) | |
tree | 0c95949cec92c0ce719a9733b01baab7f9587fd7 /drivers/nvmem/core.c | |
parent | 63c634cf95475ef86cdf15eaef5abeb5888689ab (diff) | |
download | linux-ac5e9e801f47311bdbd1dc490a1b90df676b815c.tar.xz |
rcu: Add memory barriers for NOCB leader wakeup
commit 6b5fc3a1331810db407c9e0e673dc1837afdc9d0 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>
Diffstat (limited to 'drivers/nvmem/core.c')
0 files changed, 0 insertions, 0 deletions