Linux Documentation
 help / color / mirror / Atom feed
From: Wang Qing <wangqing@vivo.com>
To: Jonathan Corbet <corbet@lwn.net>, Joe Perches <joe@perches.com>,
	Wang Qing <wangqing@vivo.com>,
	Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
	Stephen Kitt <steve@sk2.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Kees Cook <keescook@chromium.org>,
	Randy Dunlap <rdunlap@infradead.org>,
	"Guilherme G. Piccoli" <gpiccoli@canonical.com>,
	Eric Biggers <ebiggers@google.com>,
	Qais Yousef <qais.yousef@arm.com>, Petr Mladek <pmladek@suse.com>,
	Vlastimil Babka <vbabka@suse.cz>,
	Santosh Sivaraj <santosh@fossix.org>,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	Alexey Budankov <alexey.budankov@linux.intel.com>,
	Al Viro <viro@zeniv.linux.org.uk>, Andrey Ignatov <rdna@fb.com>
Cc: gregkh@linuxfoundation.org
Subject: [PATCH V2 1/4] kernel: watchdog: Modify the explanation related to watchdog thread
Date: Thu,  1 Apr 2021 11:31:31 +0800	[thread overview]
Message-ID: <1617247900-23813-2-git-send-email-wangqing@vivo.com> (raw)
In-Reply-To: <1617247900-23813-1-git-send-email-wangqing@vivo.com>

The watchdog thread has been replaced by cpu_stop_work, modify the 
explanation related.

Signed-off-by: Wang Qing <wangqing@vivo.com>
---
 kernel/watchdog.c | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/kernel/watchdog.c b/kernel/watchdog.c
index 7110906..d7fb4fb
--- a/kernel/watchdog.c
+++ b/kernel/watchdog.c
@@ -92,7 +92,7 @@ __setup("nmi_watchdog=", hardlockup_panic_setup);
  * own hardlockup detector.
  *
  * watchdog_nmi_enable/disable can be implemented to start and stop when
- * softlockup watchdog threads start and stop. The arch must select the
+ * softlockup watchdog start and stop. The arch must select the
  * SOFTLOCKUP_DETECTOR Kconfig.
  */
 int __weak watchdog_nmi_enable(unsigned int cpu)
@@ -322,7 +322,7 @@ static DEFINE_PER_CPU(struct completion, softlockup_completion);
 static DEFINE_PER_CPU(struct cpu_stop_work, softlockup_stop_work);
 
 /*
- * The watchdog thread function - touches the timestamp.
+ * The watchdog feed function - touches the timestamp.
  *
  * It only runs once every sample_period seconds (4 seconds by
  * default) to reset the softlockup timestamp. If this gets delayed
@@ -551,11 +551,7 @@ static void lockup_detector_reconfigure(void)
 }
 
 /*
- * Create the watchdog thread infrastructure and configure the detector(s).
- *
- * The threads are not unparked as watchdog_allowed_mask is empty.  When
- * the threads are successfully initialized, take the proper locks and
- * unpark the threads in the watchdog_cpumask if the watchdog is enabled.
+ * Create the watchdog infrastructure and configure the detector(s).
  */
 static __init void lockup_detector_setup(void)
 {
@@ -621,7 +617,7 @@ void lockup_detector_soft_poweroff(void)
 
 #ifdef CONFIG_SYSCTL
 
-/* Propagate any changes to the watchdog threads */
+/* Propagate any changes to the watchdog infrastructure */
 static void proc_watchdog_update(void)
 {
 	/* Remove impossible cpus to keep sysctl output clean. */
-- 
2.7.4


  reply	other threads:[~2021-04-01  3:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-01  3:31 [PATCH V2 0/4] kernel/watchdog: Modify the explanation and doc related to watchdog thread Wang Qing
2021-04-01  3:31 ` Wang Qing [this message]
2021-04-01  3:31 ` [PATCH V2 2/4] doc: watchdog: Delete the explanation about "watchdog/%u" Wang Qing
2021-04-01  3:31 ` [PATCH V2 3/4] doc: watchdog: Modify the explanation related to watchdog thread Wang Qing
2021-04-01  3:31 ` [PATCH V2 4/4] doc: watchdog: Modify the doc related to "watchdog/%u" Wang Qing
2021-04-07 10:02 ` [PATCH V2 0/4] kernel/watchdog: Modify the explanation and doc related to watchdog thread Petr Mladek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1617247900-23813-2-git-send-email-wangqing@vivo.com \
    --to=wangqing@vivo.com \
    --cc=akpm@linux-foundation.org \
    --cc=alexey.budankov@linux.intel.com \
    --cc=corbet@lwn.net \
    --cc=ebiggers@google.com \
    --cc=gpiccoli@canonical.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=joe@perches.com \
    --cc=keescook@chromium.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab+huawei@kernel.org \
    --cc=pmladek@suse.com \
    --cc=qais.yousef@arm.com \
    --cc=rdna@fb.com \
    --cc=rdunlap@infradead.org \
    --cc=santosh@fossix.org \
    --cc=steve@sk2.org \
    --cc=vbabka@suse.cz \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox