Subject: Re: Slight change to mbuf external storage infrastructure
To: David Laight <david@l8s.co.uk>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-net
Date: 04/29/2002 11:08:11
On Mon, Apr 29, 2002 at 07:00:17PM +0100, David Laight wrote:

 > The only comment I have is that these macros are getting a bit big!
 > I'd hazard a guess that most of the calls to MFREE are almost
 > never called.

I didn't actually change the compiled size of MFREE() that much at all.
Read the patch very carefully.

 > Even for the others the function call cost might be less that the
 > not unreasonable chance of the function code being already in
 > the cache.

Most things should be using m_free() or m_freem() anyway.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>