Re: [PATCH] panic: fix incomplete panic log in panic()

Andi Kleen
2012-10-15T22:06:42Z

> Also, we should be careful with things like up() on a semaphore which
> hasn't been down()ed. Because under some Kconfig combinations, such an
> operation might trigger debugging traces and we could get into a big
> mess. (An up() on non-down()ed semaphore is actually an OK operation,
> so this was a bad example. But you see the problem).

iirc the debugging code normally checks oops_in_progress, so this shouldn't
happen.

Agree on the rest of your email -- keep oops simple ... (KOSS)

-Andi