Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2003 07:52:23 -0700
From:      Luigi Rizzo <rizzo@icir.org>
To:        Petri Helenius <pete@he.iki.fi>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Review needed: Mbuf double-free detection patch
Message-ID:  <20030501075222.A33903@xorpc.icir.org>
In-Reply-To: <003901c30fde$37f2a0f0$932a40c1@PHE>; from pete@he.iki.fi on Thu, May 01, 2003 at 03:35:56PM %2B0300
References:  <20030430142532.F3741@odysseus.silby.com> <20030501041210.A3514@xorpc.icir.org> <003901c30fde$37f2a0f0$932a40c1@PHE>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030501075222.A33903>