lkml.org 
[lkml]   [2002]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-usb-devel] Re: [BK PATCH] USB changes for 2.5.34
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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.201 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site