[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250309173151.2863314-1-edumazet@google.com>
Date: Sun, 9 Mar 2025 17:31:47 +0000
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: David Ahern <dsahern@...nel.org>, Simon Horman <horms@...nel.org>, netdev@...r.kernel.org,
eric.dumazet@...il.com, Eric Dumazet <edumazet@...gle.com>
Subject: [PATCH net-next 0/4] inet: frags: fully use RCU
While inet reassembly uses RCU, it is acquiring/releasing
a refcount on struct inet_frag_queue in fast path,
for no good reason.
This series is removing these refcount changes, by extending
RCU sections.
Eric Dumazet (4):
inet: frags: add inet_frag_putn() helper
ipv4: frags: remove ipq_put()
inet: frags: change inet_frag_kill() to defer refcount updates
inet: frags: save a pair of atomic operations in reassembly
include/net/inet_frag.h | 6 ++--
include/net/ipv6_frag.h | 5 +--
net/ieee802154/6lowpan/reassembly.c | 25 ++++++++-----
net/ipv4/inet_fragment.c | 31 ++++++++--------
net/ipv4/ip_fragment.c | 48 ++++++++++---------------
net/ipv6/netfilter/nf_conntrack_reasm.c | 27 ++++++++------
net/ipv6/reassembly.c | 29 +++++++--------
7 files changed, 88 insertions(+), 83 deletions(-)
--
2.49.0.rc0.332.g42c0ae87b1-goog
Powered by blists - more mailing lists