[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1617247900-23813-4-git-send-email-wangqing@vivo.com>
Date: Thu, 1 Apr 2021 11:31:33 +0800
From: Wang Qing <wangqing@...o.com>
To: Jonathan Corbet <corbet@....net>, Joe Perches <joe@...ches.com>,
Wang Qing <wangqing@...o.com>,
Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Stephen Kitt <steve@....org>,
Andrew Morton <akpm@...ux-foundation.org>,
Kees Cook <keescook@...omium.org>,
Randy Dunlap <rdunlap@...radead.org>,
"Guilherme G. Piccoli" <gpiccoli@...onical.com>,
Eric Biggers <ebiggers@...gle.com>,
Qais Yousef <qais.yousef@....com>,
Petr Mladek <pmladek@...e.com>,
Vlastimil Babka <vbabka@...e.cz>,
Santosh Sivaraj <santosh@...six.org>,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
Al Viro <viro@...iv.linux.org.uk>
Cc: gregkh@...uxfoundation.org
Subject: [PATCH V2 3/4] 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.
Signed-off-by: Wang Qing <wangqing@...o.com>
---
Documentation/admin-guide/lockup-watchdogs.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/admin-guide/lockup-watchdogs.rst b/Documentation/admin-guide/lockup-watchdogs.rst
index 290840c..3e09284
--- a/Documentation/admin-guide/lockup-watchdogs.rst
+++ b/Documentation/admin-guide/lockup-watchdogs.rst
@@ -39,7 +39,7 @@ in principle, they should work in any architecture where these
subsystems are present.
A periodic hrtimer runs to generate interrupts and kick the watchdog
-task. An NMI perf event is generated every "watchdog_thresh"
+job. An NMI perf event is generated every "watchdog_thresh"
(compile-time initialized to 10 and configurable through sysctl of the
same name) seconds to check for hardlockups. If any CPU in the system
does not receive any hrtimer interrupt during that time the
@@ -47,7 +47,7 @@ does not receive any hrtimer interrupt during that time the
generate a kernel warning or call panic, depending on the
configuration.
-The watchdog task is a high priority kernel thread that updates a
+The watchdog job runs in a stop scheduling thread that updates a
timestamp every time it is scheduled. If that timestamp is not updated
for 2*watchdog_thresh seconds (the softlockup threshold) the
'softlockup detector' (coded inside the hrtimer callback function)
--
2.7.4
Powered by blists - more mailing lists