[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250828102738.2065992-1-edumazet@google.com>
Date: Thu, 28 Aug 2025 10:27:33 +0000
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Neal Cardwell <ncardwell@...gle.com>
Cc: Simon Horman <horms@...nel.org>, Kuniyuki Iwashima <kuniyu@...gle.com>,
Willem de Bruijn <willemb@...gle.com>, netdev@...r.kernel.org, eric.dumazet@...il.com,
Eric Dumazet <edumazet@...gle.com>
Subject: [PATCH net-next 0/5] inet_diag: make dumps faster with simple filters
inet_diag_bc_sk() pulls five cache lines per socket,
while most filters only need the two first ones.
We can change it to only pull needed cache lines,
to make things like "ss -temoi src :21456" much faster.
First patches (1-3) are annotating data-races as a first step.
Eric Dumazet (5):
inet_diag: annotate data-races in inet_diag_msg_common_fill()
tcp: annotate data-races in tcp_req_diag_fill()
inet_diag: annotate data-races in inet_diag_bc_sk()
inet_diag: change inet_diag_bc_sk() first argument
inet_diag: avoid cache line misses in inet_diag_bc_sk()
include/linux/inet_diag.h | 7 +++-
net/ipv4/inet_diag.c | 85 ++++++++++++++++++++++-----------------
net/ipv4/raw_diag.c | 10 ++---
net/ipv4/tcp_diag.c | 12 +++---
net/ipv4/tcp_output.c | 2 +-
net/ipv4/udp_diag.c | 10 ++---
net/mptcp/mptcp_diag.c | 15 ++-----
7 files changed, 70 insertions(+), 71 deletions(-)
--
2.51.0.268.g9569e192d0-goog
Powered by blists - more mailing lists