[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250928084934.3266948-1-edumazet@google.com>
Date: Sun, 28 Sep 2025 08:49:31 +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: 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 v2 net-next 0/3] net: lockless skb_attempt_defer_free()
Platforms with many cpus and relatively slow inter connect show
a significant spinlock contention in skb_attempt_defer_free().
This series refactors this infrastructure to be NUMA aware,
and lockless.
Tested on various platforms, including AMD Zen 2/3/4
and Intel Granite Rapids, showing significant cost reductions
under network stress (more than 20 Mpps).
Eric Dumazet (3):
net: make softnet_data.defer_count an atomic
net: use llist for sd->defer_list
net: add NUMA awareness to skb_attempt_defer_free()
include/linux/netdevice.h | 6 +-----
include/net/hotdata.h | 7 +++++++
net/core/dev.c | 41 ++++++++++++++++++++++-----------------
net/core/dev.h | 2 +-
net/core/skbuff.c | 24 +++++++++++------------
5 files changed, 43 insertions(+), 37 deletions(-)
--
2.51.0.536.g15c5d4f767-goog
Powered by blists - more mailing lists