Skip to content

net: few critical helpers are inlined again

Eric Dumazet netdev 1 version Applied

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

  1. v1 Latest4 patches 2 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net: always inline skb_frag_unref() and __skb_frag_unref()include/linux/skbuff_ref.h+5 -50 repliesApplied
2/4gro: change the BUG_ON() in gro_pull_from_frag0()net/core/gro.c+1 -11 replyApplied
3/4net: inline net_is_devmem_iov()include/net/netmem.h net/core/devmem.c net/core/devmem.h+13 -110 repliesApplied
4/4net: inline get_netmem() and put_netmem()include/net/netmem.h net/core/skbuff.c+28 -231 replyApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/4] net: few critical helpers are inlined again

Recent devmem additions increased stack depth. Some helpers that were inlined in the past are now out-of-line.

Eric Dumazet (4):
net: always inline skb_frag_unref() and __skb_frag_unref()
gro: change the BUG_ON() in gro_pull_from_frag0()
net: inline net_is_devmem_iov()
net: inline get_netmem() and put_netmem()

 include/linux/skbuff_ref.h | 10 +++++-----
 include/net/netmem.h       | 32 ++++++++++++++++++++++++++++++--
 net/core/devmem.c          |  5 -----
 net/core/devmem.h          |  7 +------
 net/core/gro.c             |  2 +-
 net/core/skbuff.c          | 31 ++++++++++---------------------
 6 files changed, 47 insertions(+), 40 deletions(-)
Signature · 1 line
2.52.0.457.g6b5491de43-goog