Re: Conditionals for development tests and output

From: Adrian Bunk
Date: Sat Jun 02 2007 - 10:43:55 EST


On Fri, Jun 01, 2007 at 09:17:53PM -0700, Christoph Lameter wrote:
> This introduces
>
> CONFIG_DEVELKERNEL
>
> If CONFIG_DEVELKERNEL is set then this is a development kernel.
> Otherwise the kernel to be built is a a production kernel.
>...

I have two problems with your patch:

First, there will be a slub/slab specific mechanism for debug code
controlled by a parameter in the Makefile plus the common
CONFIG_DEBUG_KERNEL approach used by most other debug options.
We need one approach for all options.

And your approach could easily result in code paths never tested in
-mm or -rc kernels exploding in the actual release.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/