On Mon, 2005-06-27 at 09:28 +0200, Andi Kleen wrote:
You can just dump the expression (with #argument). That is what
traditional userspace assert did forever.
It won't help for BUG_ON(a || b || c || d || e) but these
are bad style anyways and should be avoided.
Sounds good to me. Jens,
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?
This patch adds a
Andi Kleen writes:
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.
Hmm. Would a BUG_ON_WITH_TEXT be a better solution? The home-grown