watchdog: Boot-disable by default on full dynticks
authorFrederic Weisbecker <fweisbec@gmail.com>
Fri, 7 Jun 2013 11:35:42 +0000 (13:35 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Thu, 20 Jun 2013 13:46:32 +0000 (15:46 +0200)
commit940be35ac0139530d7554aa2352a8388e3d4adca
tree5da95cdb511ed220e02bae139eddb49d5e57d5b3
parent3c00ea82c724fab0b98f15428a804cb45eb9ad38
watchdog: Boot-disable by default on full dynticks

When the watchdog runs, it prevents the full dynticks
CPUs from stopping their tick because the hard lockup
detector uses perf events internally, which in turn
rely on the periodic tick.

Since this is a rather confusing behaviour that is not
easy to track down and identify for those who want to
test CONFIG_NO_HZ_FULL, let's default disable the
watchdog on boot time when full dynticks is enabled.

The user can still enable it later on runtime using
proc or sysctl.

Reported-by: Steven Rostedt <rostedt@goodmis.org>
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Li Zhong <zhong@linux.vnet.ibm.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Cc: Anish Singh <anish198519851985@gmail.com>
kernel/watchdog.c