diff options
| author | Breno Leitao <leitao@debian.org> | 2026-02-03 09:01:17 -0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-02-03 09:37:59 -1000 |
| commit | 32d572e39031920691abfada68cdb19ad44b4eeb (patch) | |
| tree | d9b89f9aa3de0d8659c59b35de9f2406fba3e36d /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 51cd2d2decf365a248ddc304b7aa6f0cadc748c3 (diff) | |
workqueue: add CONFIG_BOOTPARAM_WQ_STALL_PANIC option
Add a kernel config option to set the default value of
workqueue.panic_on_stall, similar to CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC,
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC and CONFIG_BOOTPARAM_HUNG_TASK_PANIC.
This allows setting the number of workqueue stalls before triggering
a kernel panic at build time, which is useful for high-availability
systems that need consistent panic-on-stall, in other words, those
servers which run with CONFIG_BOOTPARAM_*_PANIC=y already.
The default remains 0 (disabled). Setting it to 1 will panic on the
first stall, and higher values will panic after that many stall
warnings. The value can still be overridden at runtime via the
workqueue.panic_on_stall boot parameter or sysfs.
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
