Re: [PATCH 4/4] x86/jump-label: Show where and what was wrong onerrors

From: Ingo Molnar
Date: Mon Aug 12 2013 - 11:57:38 EST



* H. Peter Anvin <hpa@xxxxxxxxx> wrote:

> On 08/12/2013 07:31 AM, Peter Zijlstra wrote:
> > On Wed, Aug 07, 2013 at 07:20:44PM +0200, Borislav Petkov wrote:
> >> Besides, BUG can be disabled in CONFIG_EXPERT.
> >
> > There was some email on this subject a while ago; disabling BUG() is
> > very risky and can cause all kinds of horrid. IIRC the consensus back
> > then was to remove this 'feature' and have BUG always at least lock up
> > the machine hard.
>
> Yes, always trap but leave the metadata as optional.

I think those patches are going forward, so we can just regard BUG() as
always existing from a program flow POV.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/