aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-06-12 09:52:32 -0700
committerDavid S. Miller <davem@davemloft.net>2019-06-14 18:52:14 -0700
commit3a2bb84e4aeab5c90d16e1cd17dbaa17631af529 (patch)
treec49e1fe841e2a01314f4d7454d8472c6fcd7d5df /fs
parentnet/packet: implement shortcut in tpacket_rcv() (diff)
downloadlinux-dev-3a2bb84e4aeab5c90d16e1cd17dbaa17631af529.tar.xz
linux-dev-3a2bb84e4aeab5c90d16e1cd17dbaa17631af529.zip
net/packet: remove locking from packet_rcv_has_room()
__packet_rcv_has_room() can now be run without lock being held. po->pressure is only a non persistent hint, we can mark all read/write accesses with READ_ONCE()/WRITE_ONCE() to document the fact that the field could be written without any synchronization. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions