RE: [PATCH] workqueue: add cmdline parameter workqueue.panic_on_watchdog/max_watchdog_to_panic
From: Sangmoon Kim
Date: Sun Aug 04 2024 - 22:32:13 EST
> -----Original Message-----
> From: Tejun Heo <htejun@xxxxxxxxx> On Behalf Of Tejun Heo
> Sent: Wednesday, July 31, 2024 6:44 AM
>
> Hello,
>
> On Tue, Jul 30, 2024 at 05:04:28PM +0900, Sangmoon Kim wrote:
> > +static bool wq_panic_on_watchdog;
> > +module_param_named(panic_on_watchdog, wq_panic_on_watchdog, bool, 0644);
> > +static unsigned int wq_max_watchdog_to_panic;
> > +module_param_named(max_watchdog_to_panic, wq_max_watchdog_to_panic, uint, 0644);
>
> Can you combine the two into a single parameter? Maybe name it
> wq_panic_on_stall? 0 disables. >0 indicates the number of times before
> triggering panic, maybe?
>
> Thanks.
>
> --
> tejun
Okay. Let me do that.
Thanks for the review.
Sangmoon