Review needed: Mbuf double-free detection patch

Luigi Rizzo rizzo at icir.org
Thu May 1 07:52:25 PDT 2003


On Thu, May 01, 2003 at 03:35:56PM +0300, Petri Helenius wrote:
...
> Allocating / freeing mbufs is quite expensive already so it probably does not make 
> that huge a difference. However the direction should be to improve the perfomance.

it is not clear at all that a function call is more expensive than
replicating a relatively large chunk of code. In fact, i have
had quite a few surprise in the past when making a function __inline
and the code turning out slower than the original.

	cheers
	luigi

> Pete
> 
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"


More information about the freebsd-net mailing list