Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2002 10:15:06 -0700 (PDT)
From:      Archie Cobbs <archie@dellroad.org>
To:        Luigi Rizzo <luigi@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys mbuf.h src/sys/kern uipc_mbuf.c
Message-ID:  <200208041715.g74HF6781436@arch20m.dellroad.org>
In-Reply-To: <200208040536.g745aMb8037891@freefall.freebsd.org> "from Luigi Rizzo at Aug 3, 2002 10:36:22 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Luigi Rizzo writes:
>   Log:
>   MFC: add m_getcl() as a preferred way to get an mbuf with an
>   attached cluster.
>   
>   Now that we have this interface both in -current and -stable, each
>   network device driver can replace the call to MGETHDR/MCLGET with
>   calls to m_getcl(), saving (on -stable) about 400 bytes and the
>   associated cache pollution.

Cool! Are you planning to do a massive search & replace on all
existing instances of MGETHDR()/MCLGET() ... etc. ? I think that
would be good too... & I'm willing to help.

-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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