aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2021-06-30 14:15:25 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2021-07-02 08:30:22 +0000
commit05462babd424124762375dca186802d7355af566 (patch)
tree78d4860b91444d84e77ec97f47e290deffcc0e38 /sys/sys
parentfb32c8dbeb6fb0cc01756fb2fb90ca06e4b7c53e (diff)
downloadsrc-05462babd424124762375dca186802d7355af566.tar.gz
src-05462babd424124762375dca186802d7355af566.zip
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
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/mbuf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index ffc574817249..1dac5fcf32b7 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -825,6 +825,7 @@ void m_extadd(struct mbuf *, char *, u_int, m_ext_free_t,
u_int m_fixhdr(struct mbuf *);
struct mbuf *m_fragment(struct mbuf *, int, int);
void m_freem(struct mbuf *);
+void m_free_raw(struct mbuf *);
struct mbuf *m_get2(int, int, short, int);
struct mbuf *m_getjcl(int, short, int, int);
struct mbuf *m_getm2(struct mbuf *, int, int, short, int);