Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2002 17:22:38 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        net@FreeBSD.org
Subject:   Re: Rename of MSIZE kernel option..
Message-ID:  <15787.13726.246550.526201@grasshopper.cs.duke.edu>
In-Reply-To: <XFMail.20021014161512.jhb@FreeBSD.org>
References:  <XFMail.20021014161512.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


John Baldwin writes:
 > 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.


 > break other places in the kernel.  For example, ISA device ivars have
 > an ivar for the size of a memory resource called 'MSIZE' and the kernel
 > option causes breakage in src/sys/isa/isavar.h:
 > 
 > ISA_ACCESSOR(msize, MSIZE, int)
 > 
 > when ISA_ACCESSOR is properly defined via __BUS_ACCESSOR() rather than
 > homerolling a private copy of __BUS_ACCESSOR().  For now I've fixed it
 > to rename the ISA ivar to ISA_IVAR_MEMSIZE but MSIZE seems to be too
 > generic a name for a kernel option and it would be nice to avoid this
 > problem in the future.

Renaming MSIZE to ISA_IVAR_MEMSIZE seems right to me.

Drew

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15787.13726.246550.526201>