Re: [PATCH 4/5] watchdog: control hard lockup detection default

2014-08-18 Thread Ingo Molnar
* Don Zickus wrote: > > 2) > > > > The softlockup and hardlockup detection control variables > > should be in separate flags, inside and outside the kernel > > - they (should) not relate to each other. > > They did because years ago I thought we wanted to keep them > as one entity instead of

Re: [PATCH 4/5] watchdog: control hard lockup detection default

2014-08-18 Thread Don Zickus
On Mon, Aug 18, 2014 at 08:07:35PM +0200, Ingo Molnar wrote: > > * Don Zickus wrote: > > > On Mon, Aug 18, 2014 at 11:16:44AM +0200, Ingo Molnar wrote: > > > > > > * Don Zickus wrote: > > > > > > > The running kernel still has the ability to enable/disable at any > > > > time with /proc/sys/k

Re: [PATCH 4/5] watchdog: control hard lockup detection default

2014-08-18 Thread Ingo Molnar
* Don Zickus wrote: > On Mon, Aug 18, 2014 at 11:16:44AM +0200, Ingo Molnar wrote: > > > > * Don Zickus wrote: > > > > > The running kernel still has the ability to enable/disable at any > > > time with /proc/sys/kernel/nmi_watchdog us usual. However even > > > when the default has been overr

Re: [PATCH 4/5] watchdog: control hard lockup detection default

2014-08-18 Thread Don Zickus
On Mon, Aug 18, 2014 at 11:16:44AM +0200, Ingo Molnar wrote: > > * Don Zickus wrote: > > > The running kernel still has the ability to enable/disable at any > > time with /proc/sys/kernel/nmi_watchdog us usual. However even > > when the default has been overridden /proc/sys/kernel/nmi_watchdog >

Re: [PATCH 4/5] watchdog: control hard lockup detection default

2014-08-18 Thread Don Zickus
On Mon, Aug 18, 2014 at 11:12:39AM +0200, Ingo Molnar wrote: > > * Don Zickus wrote: > > > From: Ulrich Obergfell > > > > In some cases we don't want hard lockup detection enabled by default. > > An example is when running as a guest. Introduce > > > > watchdog_enable_hardlockup_detector(bo

Re: [PATCH 4/5] watchdog: control hard lockup detection default

2014-08-18 Thread Ulrich Obergfell
nt: Monday, August 18, 2014 11:16:44 AM >Subject: Re: [PATCH 4/5] watchdog: control hard lockup detection default > > > * Don Zickus wrote: > >> The running kernel still has the ability to enable/disable at any >> time with /proc/sys/kernel/nmi_watchdog us usual. However even

Re: [PATCH 4/5] watchdog: control hard lockup detection default

2014-08-18 Thread Ingo Molnar
* Don Zickus wrote: > From: Ulrich Obergfell > > In some cases we don't want hard lockup detection enabled by default. > An example is when running as a guest. Introduce > > watchdog_enable_hardlockup_detector(bool) So, the name watchdog_enable_hardlockup_detector_enable(false) is both to

Re: [PATCH 4/5] watchdog: control hard lockup detection default

2014-08-18 Thread Ingo Molnar
* Don Zickus wrote: > The running kernel still has the ability to enable/disable at any > time with /proc/sys/kernel/nmi_watchdog us usual. However even > when the default has been overridden /proc/sys/kernel/nmi_watchdog > will initially show '1'. To truly turn it on one must disable/enable > i

[PATCH 4/5] watchdog: control hard lockup detection default

2014-08-11 Thread Don Zickus
From: Ulrich Obergfell In some cases we don't want hard lockup detection enabled by default. An example is when running as a guest. Introduce watchdog_enable_hardlockup_detector(bool) allowing those cases to disable hard lockup detection. This must be executed early by the boot processor from