diff options
| author | 2016-11-19 14:57:11 -0800 | |
|---|---|---|
| committer | 2016-11-21 11:32:34 -0500 | |
| commit | b668534c1d9b80f4cda4d761eb11d3a6c9f4ced8 (patch) | |
| tree | 5d65a634c526447fdc64421f1bc5102cd7da18df /net/ipv4/tcp_scalable.c | |
| parent | udp: avoid one cache line miss in recvmsg() (diff) | |
| download | wireguard-linux-b668534c1d9b80f4cda4d761eb11d3a6c9f4ced8.tar.xz wireguard-linux-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/ipv4/tcp_scalable.c')
0 files changed, 0 insertions, 0 deletions
