summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-11-19 14:57:11 -0800
committerDavid S. Miller <davem@davemloft.net>2016-11-21 11:32:34 -0500
commitb668534c1d9b80f4cda4d761eb11d3a6c9f4ced8 (patch)
tree5d65a634c526447fdc64421f1bc5102cd7da18df /net/unix/af_unix.c
parentd21dbdfe0afb5195607d207f894fe86d5b322d46 (diff)
bnx2: use READ_ONCE() instead of barrier()
barrier() is a big hammer compared to READ_ONCE(), and requires comments explaining what is protected. READ_ONCE() is more precise and compiler should generate better overall code. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions