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

From: H. Peter Anvin
Date: Wed Aug 07 2013 - 14:46:47 EST


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


--
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/