Re: [RFC 1/4] CONFIG_STABLE: Define it

Satyam Sharma
2007-07-20T10:41:49Z

[ Just cleaning up my inbox, and stumbled across this thread ... ]

On 5/31/07, clameter@sgi.com <clameter@sgi.com> wrote:
> Introduce CONFIG_STABLE to control checks only useful for development.
>
> Signed-off-by: Christoph Lameter <clameter@sgi.com>
> [...]
> menu "General setup"
>
> +config STABLE
> + bool "Stable kernel"
> + help
> + If the kernel is configured to be a stable kernel then various
> + checks that are only of interest to kernel development will be
> + omitted.
> +

"A programmer who uses assertions during testing and turns them off
during production is like a sailor who wears a life vest while drilling
on shore and takes it off at sea."
- Tony Hoare

Probably you meant to turn off debug _output_ (and not _checks_)
with this config option? But we already have CONFIG_FOO_DEBUG_BAR
for those situations ...

Satyam