Re: [PATCH] verbose BUG_ON reporting

From: Andi Kleen
Date: Mon Jun 27 2005 - 12:16:00 EST


On Mon, Jun 27, 2005 at 03:27:50PM +0300, Pekka J Enberg wrote:
> On Mon, 27 Jun 2005, Andi Kleen wrote:
> > It won't work for me because it'll bloat the kernel .text
> > considerable. There is a reason why BUG is implemented
> > like it is. Compare it.
>
> The assertion codes bloat the kernel all the same. So how about this
> instead?

It's still useless - it is too bloated to turn on by default
and then if you need it you still won't have it. And when you
explicitely turn it on then you likely don't need it because
you control the source.

-Andi
-
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/