Date: Mon, 31 Dec 2007 14:13:14 -0800 From: Julian Elischer <julian@elischer.org> To: FreeBSD Net <freebsd-net@freebsd.org> Subject: m_freem() Message-ID: <4779697A.4050806@elischer.org>
next in thread | raw e-mail | index | archive | help
m_freem() would be a perfect candidate for an inline function. (or even macro). in the case where m is null, no function call would even be made... The whole function is only 2 lines, and it gets called once for every packet :-) BUT it's a part of the ABI to have it as a function for RELENG_7 and earlier... 1/ can we change it in -current/RELENG_8 2/ if not is there such a thing as an inline that has a function version too? (I have vague memories of that being possible...)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4779697A.4050806>