From owner-cvs-all Sun Aug 4 10:30: 9 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6177337B400; Sun, 4 Aug 2002 10:30:03 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id C89C343E65; Sun, 4 Aug 2002 10:30:02 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id KAA65665; Sun, 4 Aug 2002 10:16:39 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g74HF6781436; Sun, 4 Aug 2002 10:15:06 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200208041715.g74HF6781436@arch20m.dellroad.org> Subject: Re: cvs commit: src/sys/sys mbuf.h src/sys/kern uipc_mbuf.c In-Reply-To: <200208040536.g745aMb8037891@freefall.freebsd.org> "from Luigi Rizzo at Aug 3, 2002 10:36:22 pm" To: Luigi Rizzo Date: Sun, 4 Aug 2002 10:15:06 -0700 (PDT) Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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