On Wed, Mar 31, 2004 at 10:48:16PM +0200, Brian Murphy wrote:Perhaps you could mention this usage of break explicitly in the message in do_bp.
Not sure what you mean. I get the panic "Break instruction in kernel code" from do_bp
in traps.c. This seems like a strange "assertion" to me...
The more information BUG or BUG_ON provide the bigger the kernel gets.
Using a simple break instruction was simply the smallest thing. The
previous, just slightly more verbose BUG() implementation did result
in ~ 87k of bloat ...
/Brian