Linux Kernel 4.8.1 稳定版发布
commit 0b09f2d43201472327b80f9978cd768b46353a34 Author: Linus Torvalds <torvalds@linux-foundation.org>Date: Mon Oct 3 21:03:48 2016 -0700
Using BUG_ON() as an assert() is _never_ acceptable
commit 21f54ddae449f4bdd9f1498124901d67202243d9 upstream.
That just generally kills the machine, and makes debugging only much
harder, since the traces may long be gone.
Debugging by assert() is a disease.Don't do it.If you can continue,
you're much better off doing so with a live machine where you have a
much higher chance that the report actually makes it to the system logs,
rather than result in a machine that is just completely dead.
……
页:
[1]