diff options
author | J. Bruce Fields <bfields@redhat.com> | 2015-10-09 03:44:07 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-11-10 23:02:47 +0100 |
commit | 0442f14b15f8e7a8b3778a9f8cf640ef89b2df26 (patch) | |
tree | dd7cae613d5d154bd945b9c140d4764074bbbe08 /fs | |
parent | nfsd: fix race with open / open upgrade stateids (diff) | |
download | linux-0442f14b15f8e7a8b3778a9f8cf640ef89b2df26.tar.xz linux-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 <tatsu@ab.jp.nec.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions