Re: [PATCH v2] workqueue: add cmdline parameter workqueue.panic_on_stall

From: Tejun Heo
Date: Tue Aug 06 2024 - 16:07:59 EST


On Tue, Aug 06, 2024 at 02:12:09PM +0900, Sangmoon Kim wrote:
> When we want to debug the workqueue stall, we can immediately make
> a panic to get the information we want.
>
> In some systems, it may be necessary to quickly reboot the system to
> escape from a workqueue lockup situation. In this case, we can control
> the number of stall detections to generate panic.
>
> workqueue.panic_on_stall sets the number times of the stall to trigger
> panic. 0 disables the panic on stall.
>
> Signed-off-by: Sangmoon Kim <sangmoon.kim@xxxxxxxxxxx>

Appled to wq/for-6.12. Can you do a follow-up patch to document it in
kernel-parameters?

Thanks.

--
tejun