diff options
author | J. Bruce Fields <bfields@redhat.com> | 2015-10-09 01:44:07 +0000 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-11-10 17:02:47 -0500 |
commit | 0442f14b15f8e7a8b3778a9f8cf640ef89b2df26 (patch) | |
tree | dd7cae613d5d154bd945b9c140d4764074bbbe08 /fs/nfs/callback.h | |
parent | 7fc0564e3a8d16df096f48c9c6425ba84d945c6e (diff) | |
download | linux-0442f14b15f8e7a8b3778a9f8cf640ef89b2df26.tar.bz2 |
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/nfs/callback.h')
0 files changed, 0 insertions, 0 deletions