summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-03-31 10:59:46 +0300
committerJakub Kicinski <kuba@kernel.org>2025-04-01 02:53:54 +0300
commitf278b6d5bb465c7fd66f3d103812947e55b376ed (patch)
tree80f0f7103f809d9a485053e203a62e15e09b4c40 /tools/perf/scripts/python/parallel-perf.py
parentdd07df9ff3d148aee87fcbab99ff14f0727752f4 (diff)
downloadlinux-f278b6d5bb465c7fd66f3d103812947e55b376ed.tar.xz
Revert "tcp: avoid atomic operations on sk->sk_rmem_alloc"
This reverts commit 0de2a5c4b824da2205658ebebb99a55c43cdf60f. I forgot that a TCP socket could receive messages in its error queue. sock_queue_err_skb() can be called without socket lock being held, and changes sk->sk_rmem_alloc. The fact that skbs in error queue are limited by sk->sk_rcvbuf means that error messages can be dropped if socket receive queues are full, which is an orthogonal issue. In future kernels, we could use a separate sk->sk_error_mem_alloc counter specifically for the error queue. Fixes: 0de2a5c4b824 ("tcp: avoid atomic operations on sk->sk_rmem_alloc") Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20250331075946.31960-1-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions