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

H. Peter Anvin
2013-08-12T14:33:40Z

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.

-hpa