On Wed, Nov 27, 2002 at 12:51:27PM -0800, Julian Elischer wrote:
> true.. if it has a 'size' argument it would do what I was thinkng
> about..

  We actually do have that in the new m_getm().  If you do a m_getm() it
  allows you to specify 'size' and it will allocate a packet header mbuf
  for you with external storage and may even allocate more than one and
  chain them together for you in one shot and without dropping the
  per-CPU cache lock, if it can get away with it.  It does a 'best' fit
  allocation so you effectively have your 'small,' 'big,' and 'real big'
  scenario.

-- 
Bosko Milekic * [EMAIL PROTECTED] * [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to