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

H. Peter Anvin
2013-08-07T18:46:43Z

On 08/07/2013 11:41 AM, Borislav Petkov wrote:
> On Wed, Aug 07, 2013 at 10:51:43AM -0700, H. Peter Anvin wrote:
>> A bigger issue is probably if panic-on-bug should be the default, with
>> !panic being an opt-in debugging option.
>
> Yes, it might make sense although embedded wants to disable CONFIG_BUG
> on systems which cannot report errors:
>

There is another thread going on to convert BUG to trap even on machines
where CONFIG_BUG is disabled, i.e. CONFIG_BUG would control the metadata
only. With the configuration option off, you would get the address of
the failure only.

-hpa