Subject: Re: kern/5382: defopt KMEMSTATS doesn't appear to work
To: Simon Burge <simonb@telstra.com.au>
From: Chris G. Demetriou <cgd@pa.dec.com>
List: netbsd-bugs
Date: 05/01/1998 09:11:21
> 	defopt KMEMSTATS doesn't seem to work.  Under 1.3.1, I have
> 	a i386 with has "options KMEMSTATS" in the GENERIC kernel,
> 	and a pmax which doesn't.  "vmstat -m" only works on the
> 	i386.

Which is correct.

'defopt' says: 'define this option as one that's well-known and which
needs a header'.  That is, options which are 'defopted' get headers
generated rather than being defined via -D... in the kernel source
compile commands.

'defopt KMEMSTATS' is what causes opt_kmemstats.h to be created.

'options KMEMSTATS' is what actually causes KMEMSTATS to be defined in
the header, and enabled by the system.


Your mail has given (me, at least) no reason to believe that anything
is working incorrectly...



cgd