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

Ingo Molnar
2013-08-12T15:57:34Z

* H. Peter Anvin <hpa@zytor.com> 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