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