Subject: Re: Reverting the PCMCIADEBUG removal?
To: John Hawkinson <jhawk@MIT.EDU>
From: David Brownlee <abs@netbsd.org>
List: tech-kern
Date: 05/18/2001 11:01:30
On Thu, 17 May 2001, John Hawkinson wrote:
> > If you want debug code compiled in, set the options. The fact remains that
> > a fair majority of the ones I've looked at recently do it in this manner and
> > it makes the most sense since then you only pull into your build what you
> > expect to pull in.
>
> I argue that not every case is the same. There is value associated with
> having debugging code in the default kernel, and there is value associated
> with improving performance by not doing so. You have to look at the debugging
> code in order to decide what the trade-off is. In this case,
> I think it's pretty clear. There's basically no performance penalty,
> and the value is significant.
I'd like to suggest it (plus WDCDEBUG and any others) get
'defopt'ed and enabled by default in GENERIC and INSTALL.
I agree they provide useful information, but we should allow
people who are compiling kernels for limited memory systems to
easily turn them off.
--
David/absolute -- www.netbsd.org: No hype required --