]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mbuf: add m_free_raw to be used instead of directly calling uma_zfree
authorMateusz Guzik <mjg@FreeBSD.org>
Wed, 30 Jun 2021 14:15:25 +0000 (16:15 +0200)
committerMateusz Guzik <mjg@FreeBSD.org>
Fri, 2 Jul 2021 08:30:22 +0000 (08:30 +0000)
commit05462babd424124762375dca186802d7355af566
tree78d4860b91444d84e77ec97f47e290deffcc0e38
parentfb32c8dbeb6fb0cc01756fb2fb90ca06e4b7c53e
mbuf: add m_free_raw to be used instead of directly calling uma_zfree

The intent is to remove all direct zone_mbuf consumers so that ctor/dtor
from that zone can be reimplemented as wrappers around uma, avoiding an
indirect function call.

Reviewed by: kbowling
Discussed with: gallatin
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D30959
sys/kern/kern_mbuf.c
sys/sys/mbuf.h