Subject: Re: NMBCLUSTERS: conf/param.c vs. #define
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Simon Burge <simonb@netbsd.org>
List: tech-kern
Date: 04/25/1999 11:34:03
Jason Thorpe wrote:

> On Sun, 25 Apr 1999 01:38:14 +1000 
>  Simon Burge <simonb@netbsd.org> wrote:
> 
>  > So I'm looking at defopt'ing NMBCLUSTERS, and found that a variable
>  > nmbclusters is initialised to NMBCLUSTERS in conf/param.c, but not
>  > referenced anywhere else (kernel or userland).
>  > 
>  > Should everything in the kernel reference nmbclusters, or should it
>  > be g/c'd from conf/param.c.
> 
> Please do not g/c nmbclusters; it will be referenced soon :-)  It's
> probably also referenced from userland via libkvm for various things.

I did the "cd src; find . -type f -print | xargs grep NMBCLUSTERS" and
returned nothing except conf/param.c and sys/mbuf.h, prompting the
question :)  In that case, should mbinit reference nmbclusters and not
NMBCLUSTERS?

>  > While I'm talking about g/c'ing things, is it time all the REAL_CLISTS
>  > goop went?  conf/param.c makes interesting reading :-)
> 
> Probably time to kill it, yes.

Will do.

Simon.