Re: [PATCH] panic: Add sysctl/cmdline to dump all CPUs backtraces on oops event

From: Andrew Morton
Date: Tue Mar 10 2020 - 21:26:51 EST


On Tue, 10 Mar 2020 13:59:15 -0700 Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:

> > +oops_all_cpu_backtrace:
> > +================
> > +
> > +Determines if kernel should NMI all CPUs to dump their backtraces when
>
> I would much prefer that to be written without using NMI as a verb.

"Non maskably interrupt" ;)

I think it's OK. Concise and the meaning is clear.


Why do we need the kernel boot parameter? Isn't
/proc/sys/kernel/oops_all_cpu_backtrace sufficient?