Linus Torvalds wrote:
> On Tue, 10 Sep 2002, Oliver Xymoron wrote:
>
>>Which still leaves the question, does it really make sense for
>>FATAL/BUG to forcibly kill the machine?
>
>
> No. It should only be "locally fatal", and it should clearly just do what
> BUG() does now - kill the process.
>
> But that implies very much that you really cannot use FATAL() in general
> at all, since it would be illegal to use whenever some caller holds some
> non-local locks (which is almost always the case for most "peripheral
> code").
Well we still have panic()... It might be nice to have a PANIC() macro
with a similar form to that of DEBUG/WARN/FATAL...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:22 EST