summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2026-02-06 03:18:01 -0800
committerTejun Heo <tj@kernel.org>2026-02-07 06:54:38 -1000
commitf84c9dd34e8dce3fb42598344da711573b383626 (patch)
tree30135f35b13ff9b195fe9c1e86764eb12a28ba05 /Documentation/admin-guide
parent32d572e39031920691abfada68cdb19ad44b4eeb (diff)
workqueue: add time-based panic for stalls
Add a new module parameter 'panic_on_stall_time' that triggers a panic when a workqueue stall persists for longer than the specified duration in seconds. Unlike 'panic_on_stall' which counts accumulated stall events, this parameter triggers based on the duration of a single continuous stall. This is useful for catching truly stuck workqueues rather than accumulating transient stalls. Usage: workqueue.panic_on_stall_time=120 This would panic if any workqueue pool has been stalled for 120 seconds or more. The stall duration is measured from the workqueue last progress (poll_ts) which accounts for legitimate system stalls. Signed-off-by: Breno Leitao <leitao@debian.org> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation/admin-guide')
-rw-r--r--Documentation/admin-guide/kernel-parameters.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index 5a9df399dd72..3fe4672d1bb9 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -8339,6 +8339,14 @@ Kernel parameters
The default is set by CONFIG_BOOTPARAM_WQ_STALL_PANIC,
which is 0 (disabled) if not configured.
+ workqueue.panic_on_stall_time=<uint>
+ Panic when a workqueue stall has been continuous for
+ the specified number of seconds. Unlike panic_on_stall
+ which counts accumulated stall events, this triggers
+ based on the duration of a single continuous stall.
+
+ The default is 0, which disables the time-based panic.
+
workqueue.cpu_intensive_thresh_us=
Per-cpu work items which run for longer than this
threshold are automatically considered CPU intensive