net: lockless skb_attempt_defer_free()
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesApplied 3/3
- v13 patches 7 repliesSuperseded
Patches in v2 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net: make softnet_data.defer_count an atomicinclude/ net/ net/ | +4 | 0 replies | Applied |
| 2/3 | net: use llist for sd->defer_listinclude/ net/ net/ | +17 | 0 replies | Applied |
| 3/3 | net: add NUMA awareness to skb_attempt_defer_free()include/ include/ net/ +2 more | +37 | 0 replies | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Jason Xing | Kuniyuki Iwashima |
|---|---|---|
| 1/3 | R-b | R-b |
| 2/3 | R-b | R-b |
| 3/3 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [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(-)
Signature · 1 line
2.51.0.536.g15c5d4f767-goog