Messages in this thread |  | | Date | Tue, 10 Sep 2002 15:43:59 -0400 | From | Jeff Garzik <> | Subject | Re: [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/
|  |