]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog/core: Add watchdog_thresh command line parameter
authorLaurence Oberman <loberman@redhat.com>
Thu, 1 Nov 2018 13:30:18 +0000 (09:30 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 1 Nov 2018 13:33:35 +0000 (14:33 +0100)
commit16df48c8789cdf891049dc65d41e6f68b615b565
treecf2489649e89da0c9a097b041fa4a6e278a9fe23
parent518e49503dd7237007976f6a2ef65349c82d8c49
watchdog/core: Add watchdog_thresh command line parameter

The hard and soft lockup detector threshold has a default value of 10
seconds which can only be changed via sysctl.

During early boot lockup detection can trigger when noisy debugging emits
a large amount of messages to the console, but there is no way to set a
larger threshold on the kernel command line. The detector can only be
completely disabled.

Add a new watchdog_thresh= command line parameter to allow boot time
control over the threshold. It works in the same way as the sysctl and
affects both the soft and the hard lockup detectors.

Signed-off-by: Laurence Oberman <loberman@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: rdunlap@infradead.org
Cc: prarit@redhat.com
Link: https://lkml.kernel.org/r/1541079018-13953-1-git-send-email-loberman@redhat.com
Documentation/admin-guide/kernel-parameters.txt
kernel/watchdog.c