Messages in this thread | | | Date | Mon, 15 Oct 2012 15:06:39 -0700 | From | Andi Kleen <> | Subject | Re: [PATCH] panic: fix incomplete panic log in panic() |
| |
> 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
| |