diff options
| author | J. Bruce Fields <[email protected]> | 2015-10-09 01:44:07 +0000 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2015-11-10 22:02:47 +0000 |
| commit | 0442f14b15f8e7a8b3778a9f8cf640ef89b2df26 (patch) | |
| tree | dd7cae613d5d154bd945b9c140d4764074bbbe08 /drivers/fpga/fpga-mgr.c | |
| parent | nfsd: fix race with open / open upgrade stateids (diff) | |
| download | kernel-0442f14b15f8e7a8b3778a9f8cf640ef89b2df26.tar.gz kernel-0442f14b15f8e7a8b3778a9f8cf640ef89b2df26.zip | |
svcrpc: document lack of some memory barriers
We're missing memory barriers in net/sunrpc/svcsock.c in some spots we'd
expect them. But it doesn't appear they're necessary in our case, and
this is likely a hot path--for now just document the odd behavior.
Kosuke Tatsukawa found this issue while looking through the linux source
code for places calling waitqueue_active() before wake_up*(), but
without preceding memory barriers, after sending a patch to fix a
similar issue in drivers/tty/n_tty.c (Details about the original issue
can be found here: https://lkml.org/lkml/2015/9/28/849).
Reported-by: Kosuke Tatsukawa <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
