aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.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/socket.c
parentudp: avoid one cache line miss in recvmsg() (diff)
downloadlinux-rng-b668534c1d9b80f4cda4d761eb11d3a6c9f4ced8.tar.xz
linux-rng-b668534c1d9b80f4cda4d761eb11d3a6c9f4ced8.zip
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/socket.c')
0 files changed, 0 insertions, 0 deletions