diff options
author | 2024-03-28 14:40:30 +0000 | |
---|---|---|
committer | 2024-03-29 15:03:10 -0700 | |
commit | 6a1f12dd85a8b24f871dfcf467378660af9c064d (patch) | |
tree | cb52518234de5cc5eabe543f60265f8b3699ae35 /net/unix/af_unix.c | |
parent | udp: annotate data-race in __udp_enqueue_schedule_skb() (diff) | |
download | wireguard-linux-6a1f12dd85a8b24f871dfcf467378660af9c064d.tar.xz wireguard-linux-6a1f12dd85a8b24f871dfcf467378660af9c064d.zip |
udp: relax atomic operation on sk->sk_rmem_alloc
atomic_add_return() is more expensive than atomic_add()
and seems overkill in UDP rx fast path.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20240328144032.1864988-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions