Re: [PATCH V2] workqueue: watchdog: update wq_watchdog_touched for unbound lockup checking

From: Tejun Heo
Date: Sat Mar 20 2021 - 14:21:54 EST


On Fri, Mar 19, 2021 at 04:00:36PM +0800, Wang Qing wrote:
> When touch_softlockup_watchdog() is called, only wq_watchdog_touched_cpu
> updated, while the unbound worker_pool running on its core uses
> wq_watchdog_touched to determine whether locked up. This may be mischecked.

Can you please elaborate here, preferably with a concrete scenario where the
new code is better?

Thanks.

--
tejun