lkml.org 
[lkml]   [2013]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/4] x86/jump-label: Show where and what was wrong on errors

* 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


\
 
 \ /
  Last update: 2013-08-12 19:21    [W:0.035 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site