Documentation: kernel-parameters: add workqueue.panic_on_stall
authorSangmoon Kim <sangmoon.kim@samsung.com>
Wed, 7 Aug 2024 10:55:00 +0000 (19:55 +0900)
committerTejun Heo <tj@kernel.org>
Wed, 7 Aug 2024 16:16:14 +0000 (06:16 -1000)
The workqueue.panic_on_stall kernel parameter was added in commit
073107b39e55 ("workqueue: add cmdline parameter workqueue.panic_on_stall")
but not listed in the kernel-parameters doc. Add it there.

Signed-off-by: Sangmoon Kim <sangmoon.kim@samsung.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/admin-guide/kernel-parameters.txt

index f1384c7b59c9282fc6fb40569a92f6c13861bbb9..561f42d8a48f9963876accab9b5922b11dfa8d7c 100644 (file)
                        it can be updated at runtime by writing to the
                        corresponding sysfs file.
 
+       workqueue.panic_on_stall=<uint>
+                       Panic when workqueue stall is detected by
+                       CONFIG_WQ_WATCHDOG. It sets the number times of the
+                       stall to trigger panic.
+
+                       The default is 0, which disables the panic on stall.
+
        workqueue.cpu_intensive_thresh_us=
                        Per-cpu work items which run for longer than this
                        threshold are automatically considered CPU intensive