J. Bruce Fields 0442f14b15 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>
2015-11-10 17:02:47 -05:00
..
2015-08-30 18:12:36 -04:00
2015-03-02 16:43:41 -05:00
2015-09-24 23:04:53 -07:00
2015-03-06 21:50:02 -05:00
2015-09-24 23:04:53 -07:00
2015-09-25 21:44:02 -07:00
2015-08-24 14:48:10 -07:00
2015-08-31 12:45:09 -07:00
2015-09-23 14:33:55 -07:00