From owner-freebsd-hackers Sun Feb 3 9:56:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by hub.freebsd.org (Postfix) with ESMTP id 7CDE237B41A for ; Sun, 3 Feb 2002 09:56:12 -0800 (PST) Received: from angelica.unixdaemons.com (bmilekic@localhost.unixdaemons.com [127.0.0.1]) by angelica.unixdaemons.com (8.12.2/8.12.1) with ESMTP id g13Htx7q000753; Sun, 3 Feb 2002 12:55:59 -0500 (EST) Received: (from bmilekic@localhost) by angelica.unixdaemons.com (8.12.2/8.12.1/Submit) id g13Htupr000752; Sun, 3 Feb 2002 12:55:56 -0500 (EST) (envelope-from bmilekic) Date: Sun, 3 Feb 2002 12:55:56 -0500 From: Bosko Milekic To: David Greenman Cc: Matthew Dillon , hackers@FreeBSD.ORG Subject: Re: Patch to remove MFREE() macro entirely Message-ID: <20020203125556.A487@unixdaemons.com> References: <200202030400.g13408C59494@apollo.backplane.com> <20020202235417.B4855@nexus.root.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020202235417.B4855@nexus.root.com>; from dg@root.com on Sat, Feb 02, 2002 at 11:54:17PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Feb 02, 2002 at 11:54:17PM -0800, David Greenman wrote: > > Oh what a tangled web we weave. This should be really easy for people > > to take a quick look at to see if I made any mistakes. I'm basically > > untangling the (small) mess that people made of the code while trying to > > use the MFREE() macro over the last N years. > > > > If nobody sees any problems it will go into -current next week some > > time and then be MFC'd to stable. > > Looks good to me. I'm definately very much in favor of killing MFREE(). Absolutely! Especially in light of the fact that in -CURRENT now-a-days, MFREE() will has no benefits and pretty much ALL the mbuf macros are deprecated (they just wrap calls to the appropriate functions). They were really big for macros and actually used to make things slower by busting the cache. > -DG > > David Greenman > Co-founder, The FreeBSD Project - http://www.freebsd.org > President, TeraSolutions, Inc. - http://www.terasolutions.com > President, Download Technologies, Inc. - http://www.downloadtech.com > Pave the road of life with opportunities. -- Bosko Milekic bmilekic@unixdaemons.com bmilekic@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message