[PATCH V4] kernel, add bug_on_warn

Prarit Bhargava prarit at redhat.com
Tue Oct 28 06:19:00 PDT 2014



On 10/28/2014 08:56 AM, Andi Kleen wrote:
>>> If you have a command line option to execute kdb commands you still
>>> would only have a command line option, just a slightly longer one.
>>>
>>> kdb="on, bp warn_slowpath_common sr c, go" 
>>
>> KDB is not on all kernels.  This would require me to go to great lengths to
> 
> Repeating incorrect statements doesn't suddenly make them correct.

It does when you're introducing unnecessary complexity here Andi.  You're not
listening to the original statement: I do not want to provide a modified kernel
to an end user for this simple situation anymore.

> 
> Assuming KDB is compiled in the only setup needed would be the line above.

That's a HUGE assumption.  It isn't and I'm still stuck in the same mess of
explaining how to recompile a kernel and/or providing a modified kernel to an
end user.  That isn't a good solution.

P.

> 
> -Andi
> 



More information about the kexec mailing list