diff options
| author | Breno Leitao <leitao@debian.org> | 2026-02-06 03:18:01 -0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-02-07 06:54:38 -1000 |
| commit | f84c9dd34e8dce3fb42598344da711573b383626 (patch) | |
| tree | 30135f35b13ff9b195fe9c1e86764eb12a28ba05 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 32d572e39031920691abfada68cdb19ad44b4eeb (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 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
