Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1160414
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] debug: Deprecate BUG_ON() use in new code, introduce CRASH_ON() |
| Date | 2015-06-08 13:30 +0200 |
| Message-ID | <pz3pE-5vv-3@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <pz0i5-Ys-15@gated-at.bofh.it> <pz0UN-1Jp-7@gated-at.bofh.it> <pz1e9-2mm-17@gated-at.bofh.it> <pz1nR-2xQ-19@gated-at.bofh.it> <pz1xv-2KO-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
* Alexander Holler <holler@ahsoftware.de> wrote: > > Also note that BUG_ON() will make data corruption _worse_ statistically. Why? > > Because most data corruptions are unlikely to be perfectly detected by a > > BUG_ON(), and the BUG_ON() delays the finding of the underlying bug, so the > > bug will hit more people before it's fixed for good. > > > > So even in the cases where you could argue that the system needs to stop, > > because we have evidence of data corruption, it's statistically the better > > approach to continue and get kernel log info back to developers. > > Risking more, maybe even worse problems like corrupting file systems or similiar > in order to have a slightly chance of save log info? That's not what I said - please read my argument and argue with that if you want, not with some other straw-man argument... Thanks, Ingo -- 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/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH] kernel/params.c: make use of unused but set variable Tejun Heo <htejun@gmail.com> - 2015-06-08 02:10 +0200
Re: [PATCH] kernel/params.c: make use of unused but set variable Linus Torvalds <torvalds@linux-foundation.org> - 2015-06-08 02:20 +0200
Re: [PATCH] kernel/params.c: make use of unused but set variable Tejun Heo <htejun@gmail.com> - 2015-06-08 03:00 +0200
Re: [PATCH] kernel/params.c: make use of unused but set variable Tejun Heo <htejun@gmail.com> - 2015-06-11 04:00 +0200
Re: [PATCH] kernel/params.c: make use of unused but set variable Louis Langholtz <lou_langholtz@me.com> - 2015-06-12 05:20 +0200
Re: [PATCH] debug: Deprecate BUG_ON() use in new code, introduce CRASH_ON() Ingo Molnar <mingo@kernel.org> - 2015-06-08 13:30 +0200
Re: [PATCH] debug: Deprecate BUG_ON() use in new code, introduce CRASH_ON() Ingo Molnar <mingo@kernel.org> - 2015-06-08 13:30 +0200
Re: [PATCH] debug: Deprecate BUG_ON() use in new code, introduce CRASH_ON() Ingo Molnar <mingo@kernel.org> - 2015-06-08 21:40 +0200
Re: [PATCH] kernel/params.c: make use of unused but set variable Tejun Heo <htejun@gmail.com> - 2015-06-12 03:50 +0200
Re: [PATCH] kernel/params.c: make use of unused but set variable Tejun Heo <htejun@gmail.com> - 2015-06-16 22:00 +0200
Re: [PATCH] kernel/params.c: make use of unused but set variable Rusty Russell <rusty@rustcorp.com.au> - 2015-06-12 03:50 +0200
csiph-web