Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

doc: watchdog: modify the explanation related to watchdog thread

"watchdog/%u" threads has be replaced by cpu_stop_work. The current
description is extremely misleading.

Link: https://lkml.kernel.org/r/1619687073-24686-4-git-send-email-wangqing@vivo.com
Signed-off-by: Wang Qing <wangqing@vivo.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Cc: "Guilherme G. Piccoli" <gpiccoli@canonical.com>
Cc: Joe Perches <joe@perches.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Kees Cook <keescook@chromium.org>
Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Cc: Qais Yousef <qais.yousef@arm.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Santosh Sivaraj <santosh@fossix.org>
Cc: Stephen Kitt <steve@sk2.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Wang Qing and committed by
Linus Torvalds
e55fda8c b124ac45

+2 -2
+2 -2
Documentation/admin-guide/lockup-watchdogs.rst
··· 39 39 subsystems are present. 40 40 41 41 A periodic hrtimer runs to generate interrupts and kick the watchdog 42 - task. An NMI perf event is generated every "watchdog_thresh" 42 + job. An NMI perf event is generated every "watchdog_thresh" 43 43 (compile-time initialized to 10 and configurable through sysctl of the 44 44 same name) seconds to check for hardlockups. If any CPU in the system 45 45 does not receive any hrtimer interrupt during that time the ··· 47 47 generate a kernel warning or call panic, depending on the 48 48 configuration. 49 49 50 - The watchdog task is a high priority kernel thread that updates a 50 + The watchdog job runs in a stop scheduling thread that updates a 51 51 timestamp every time it is scheduled. If that timestamp is not updated 52 52 for 2*watchdog_thresh seconds (the softlockup threshold) the 53 53 'softlockup detector' (coded inside the hrtimer callback function)