Julian Elischer julian at elischer.org
Mon Dec 31 14:13:02 PST 2007

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 
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...)

More information about the freebsd-net mailing list