From owner-freebsd-net Mon Oct 14 21:12:59 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 021A837B404 for <net@FreeBSD.ORG>; Mon, 14 Oct 2002 21:12:58 -0700 (PDT) Received: from ares.cs.Virginia.EDU (ares.cs.Virginia.EDU [128.143.137.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01EE243E9E for <net@FreeBSD.ORG>; Mon, 14 Oct 2002 21:12:57 -0700 (PDT) (envelope-from nicolas@cs.virginia.edu) Received: from arachnion.cs.Virginia.EDU (arachnion.cs.Virginia.EDU [128.143.136.20]) by ares.cs.Virginia.EDU (8.9.3+Sun/8.9.2/UVACS-2000040300) with ESMTP id AAA22191 for <net@FreeBSD.ORG>; Tue, 15 Oct 2002 00:12:56 -0400 (EDT) Received: from localhost (nc2y@localhost) by arachnion.cs.Virginia.EDU (8.9.2/8.9.2) with ESMTP id AAA13140 for <net@FreeBSD.ORG>; Tue, 15 Oct 2002 00:12:55 -0400 (EDT) X-Authentication-Warning: arachnion.cs.Virginia.EDU: nc2y owned process doing -bs Date: Tue, 15 Oct 2002 00:12:55 -0400 (EDT) From: Nicolas Christin <nicolas@cs.virginia.edu> X-X-Sender: nc2y@arachnion.cs.Virginia.EDU To: net@FreeBSD.ORG Subject: Re: Rename of MSIZE kernel option.. In-Reply-To: <15787.13726.246550.526201@grasshopper.cs.duke.edu> Message-ID: <Pine.GSO.4.44.0210150002310.13090-100000@arachnion.cs.Virginia.EDU> Organization: University of Virginia - CS Dept. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: <freebsd-net.FreeBSD.ORG> List-Archive: <http://docs.freebsd.org/mail/> (Web Archive) List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions) List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-net> List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-net> X-Loop: FreeBSD.org Note: I'm just a lurker here, but thought I'd give my 2 cents on this discussion as well. On Mon, 14 Oct 2002, Andrew Gallatin wrote: > > Would people be open to renaming the 'MSIZE' kernel option to something > > more specific such as 'MBUF_SIZE' or 'MBUFSIZE'? Using 'MSIZE' can > > No. > > MSIZE is a traditional BSDism. Everybody else still uses it. > Even AIX and MacOS. I really don't like the idea of changing this. True, but John is right, it's too generic a name. The argument "it's been forever so we can't change it" seems a bit fallacious to me: that's with that line of thinking that one ends up with breakages no one can figure out years down the road. You end up having to keep pieces of code no one really knows what they're doing anymore, but if you take them out, the whole thing crashes and burns. Not that I'm saying it would be the case for something as obvious as MSIZE, but still... > Renaming MSIZE to ISA_IVAR_MEMSIZE seems right to me. I agree. Don't use something like MSIZE at all. The name is not explicit enough. For a transition period, one could define both an MSIZE and an MBUF_SIZE equivalent to MSIZE for a couple of versions (say the whole 5.x series), clearly stating MSIZE is deprecated and shouldn't be used anymore, and then it could be completely removed in 6.x. -- Nicolas Christin Ph.D. Candidate, University of Virginia, Computer Science http://www.cs.virginia.edu/~nicolas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message