Re: [PATCH 1/2] watchdog, nmi: Allow hardlockup to panic by default

From: Don Zickus
Date: Mon Mar 07 2011 - 16:37:31 EST


On Fri, Mar 04, 2011 at 11:15:21PM +0000, Jack Stone wrote:
> On 03/03/2011 20:33, Don Zickus wrote:
> > Add a Kconfig option to allow users to set the hardlockup to panic
> > by default. Also add in a 'nmi_watchdog=nopanic' to override this.
> >
> > Signed-off-by: Don Zickus <dzickus@xxxxxxxxxx>
> >
> [snip]
> > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
> > index 2b97418..80bd292 100644
> > --- a/lib/Kconfig.debug
> > +++ b/lib/Kconfig.debug
> > @@ -176,6 +176,23 @@ config HARDLOCKUP_DETECTOR
> > def_bool LOCKUP_DETECTOR && PERF_EVENTS && HAVE_PERF_EVENTS_NMI && \
> > !ARCH_HAS_NMI_WATCHDOG
> >
> > +config BOOTPARAM_HARDLOCKUP_PANIC
> > + bool "Panic (Reboot) On Soft Lockups"
>
> Did you mean Hard Lockups here?

Yes. Thanks! :-)

Cheers,
Don
--
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/