Re: [PATCH v2] kthread: work could not be queued when worker being destroyed

From: Petr Mladek
Date: Fri Jul 03 2020 - 07:11:17 EST


On Thu 2020-07-02 15:01:56, qiang.zhang@xxxxxxxxxxxxx wrote:
> From: Zhang Qiang <qiang.zhang@xxxxxxxxxxxxx>
>
> The "queuing_blocked" func should print warning message and
> returns true when the worker being destroyed.
>
> Suggested-by: Petr Mladek <pmladek@xxxxxxxx>
> Signed-off-by: Zhang Qiang <qiang.zhang@xxxxxxxxxxxxx>

Looks good to me.

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Adding Andrew into CC. Changes in kernel/kthread.c usually goes
through him. You might need to resend the patch once again
with Andrew in CC.

Best Regards,
Petr Mladek