Re: [PATCH 2/3] kthread: Prevent deadlock when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()

From: Andrew Morton
Date: Thu Jun 10 2021 - 17:30:34 EST


On Thu, 10 Jun 2021 15:30:50 +0200 Petr Mladek <pmladek@xxxxxxxx> wrote:

> The system might hang with the following backtrace:

Well that's not good.

> Fixes: 9a6b06c8d9a220860468a ("kthread: allow to modify delayed kthread work")
> Reported-by: Martin Liu <liumartin@xxxxxxxxxx>
> Signed-off-by: Petr Mladek <pmladek@xxxxxxxx>

Was a -stable backport considered?