From owner-freebsd-net@FreeBSD.ORG Wed Aug 27 09:53:15 2003 Return-Path: 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 4697016A4BF; Wed, 27 Aug 2003 09:53:15 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id C345243FDF; Wed, 27 Aug 2003 09:53:11 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.9/8.12.9) with ESMTP id h7RGrA6X013787 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK CN=khavrinen.lcs.mit.edu issuer=SSL+20Client+20CA); Wed, 27 Aug 2003 12:53:10 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.9/8.12.9/Submit) id h7RGr9BX013784; Wed, 27 Aug 2003 12:53:09 -0400 (EDT) (envelope-from wollman) Date: Wed, 27 Aug 2003 12:53:09 -0400 (EDT) From: Garrett Wollman Message-Id: <200308271653.h7RGr9BX013784@khavrinen.lcs.mit.edu> To: Robert Watson In-Reply-To: References: <20030827030314.GJ40033@pixies.tirloni.org> X-Spam-Score: -19.8 () IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) cc: freebsd-net@freebsd.org Subject: Re: mbuf usage for an idle machine X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 16:53:15 -0000 < said: > There are a number of situations in which the mbuf allocator is used to > allocate non-mbufs -- for example, we use mbufs to hold IP fragment > queues, as well as some static packet prototype mbufs, socket options, > etc. You're a few years out of date on that one. Socket options should not be held in mbufs (unless something is broken at the protocol level). I made a sweep a few years back and managed to eliminate most misues of mbufs in the network stack. -GAWollman