From owner-freebsd-net Mon Jul 1 4:37:24 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEA2437B400 for ; Mon, 1 Jul 2002 04:37:21 -0700 (PDT) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with SMTP id 6A4E543E26 for ; Mon, 1 Jul 2002 04:37:20 -0700 (PDT) (envelope-from oppermann@pipeline.ch) Received: (qmail 33497 invoked from network); 1 Jul 2002 11:36:22 -0000 Received: from unknown (HELO pipeline.ch) ([62.48.0.53]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 1 Jul 2002 11:36:22 -0000 Message-ID: <3D203E9F.D9CFA13D@pipeline.ch> Date: Mon, 01 Jul 2002 13:35:59 +0200 From: Andre Oppermann X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Jeffrey Hsu Cc: Luigi Rizzo , net@freebsd.org Subject: Re: Should we keep a cache of mbuf+cluster ready for use ? References: <0GYH00JJCOL3HO@mta7.pltn13.pbi.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jeffrey Hsu wrote: > > So, what you want is something like a > MGETHCL(m, how, type) > MHCLFREE(m) > interface which first looks in a combined freelist before the individual > mbuf and cluster freelists. I think it's a good idea. There should be per CPU queues as in kmalloc for SMP. -- Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message