aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-03-28 14:40:30 +0000
committerJakub Kicinski <kuba@kernel.org>2024-03-29 15:03:10 -0700
commit6a1f12dd85a8b24f871dfcf467378660af9c064d (patch)
treecb52518234de5cc5eabe543f60265f8b3699ae35 /net/unix/af_unix.c
parent60557969951304dad829f2829019907dfb43ecb3 (diff)
downloadlinux-6a1f12dd85a8b24f871dfcf467378660af9c064d.tar.gz
linux-6a1f12dd85a8b24f871dfcf467378660af9c064d.tar.bz2
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