[PATCH v8 0/3] mbuf: simplify handling of reinitialized mbufs

Thomas Monjalon thomas at monjalon.net
Sun Oct 19 22:42:21 CEST 2025


23/08/2025 08:29, Morten Brørup:
> This series contains three changes:
> - sanity checking a reinitialized mbuf (a.k.a. raw mbuf) was de-inlined
> - reinitialized mbuf free and alloc bulk functions were promoted as stable
> - resetting fields of reinitialized mbufs was optimized, making the reset
>   operation write-only of the mbuf, instead of read-modify-write
> 
> Morten Brørup (3):
>   mbuf: de-inline sanity checking a reinitialized mbuf
>   mbuf: promote raw free and alloc bulk functions as stable
>   mbuf: optimize reset of reinitialized mbufs

Applied, thanks.

2 notes:
- do you know how much it improves performance?
- it is adding (more or less) new functions directly as stable




More information about the dev mailing list