[PATCH] doc: watchdog: fix typos etc.

Randy Dunlap posted 1 patch 2 months, 1 week ago
There is a newer version of this series
Documentation/admin-guide/lockup-watchdogs.rst |    6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH] doc: watchdog: fix typos etc.
Posted by Randy Dunlap 2 months, 1 week ago
Correct grammar, plurality, and typos in lockup-watchdogs.rst.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org

 Documentation/admin-guide/lockup-watchdogs.rst |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- linux-next-20260406.orig/Documentation/admin-guide/lockup-watchdogs.rst
+++ linux-next-20260406/Documentation/admin-guide/lockup-watchdogs.rst
@@ -18,7 +18,7 @@ provided for this.
 A 'hardlockup' is defined as a bug that causes the CPU to loop in
 kernel mode for several seconds (see "Implementation" below for
 details), without letting other interrupts have a chance to run.
-Similarly to the softlockup case, the current stack trace is displayed
+Similar to the softlockup case, the current stack trace is displayed
 upon detection and the system will stay locked up unless the default
 behavior is changed, which can be done through a sysctl,
 'hardlockup_panic', a compile time knob, "BOOTPARAM_HARDLOCKUP_PANIC",
@@ -41,7 +41,7 @@ is a trade-off between fast response to
 Implementation
 ==============
 
-The soft and hard lockup detectors are built around a hrtimer.
+The soft and hard lockup detectors are built around an hrtimer.
 In addition, the softlockup detector regularly schedules a job, and
 the hard lockup detector might use Perf/NMI events on architectures
 that support it.
@@ -49,7 +49,7 @@ that support it.
 Frequency and Heartbeats
 ------------------------
 
-The core of the detectors in a hrtimer. It servers multiple purpose:
+The core of the detectors is an hrtimer. It servers multiple purposes:
 
 - schedules watchdog job for the softlockup detector
 - bumps the interrupt counter for hardlockup detectors (heartbeat)
Re: [PATCH] doc: watchdog: fix typos etc.
Posted by Björn Persson 2 months, 1 week ago
Randy Dunlap wrote:
> -Similarly to the softlockup case, the current stack trace is displayed
> +Similar to the softlockup case, the current stack trace is displayed

"Similarly" modifies "is displayed", so the adverbial form is correct.

> -The core of the detectors in a hrtimer. It servers multiple purpose:
> +The core of the detectors is an hrtimer. It servers multiple purposes:

And "servers" should be "serves".

Björn Persson
Re: [PATCH] doc: watchdog: fix typos etc.
Posted by Randy Dunlap 2 months, 1 week ago

On 4/8/26 11:56 AM, Björn Persson wrote:
> Randy Dunlap wrote:
>> -Similarly to the softlockup case, the current stack trace is displayed
>> +Similar to the softlockup case, the current stack trace is displayed
> 
> "Similarly" modifies "is displayed", so the adverbial form is correct.
> 
>> -The core of the detectors in a hrtimer. It servers multiple purpose:
>> +The core of the detectors is an hrtimer. It servers multiple purposes:
> 
> And "servers" should be "serves".

Thank you.

Andrew, I'll send a v2 patch.

-- 
~Randy