Re: [RFC PATCH] kthread: do not modify running work

From: Petr Mladek
Date: Wed Sep 30 2020 - 11:01:15 EST


On Sat 2020-09-26 12:04:26, Hillf Danton wrote:
>
> It does not make much sense to rearm timer for the delayed work if
> it is worker's current work atm because it's good to do work only
> once.

Quite typical scenario is to queue delayed work from its own callback.
It allows to do the work in regular intervals.

This patch would break it. Or do I miss anything?

Best Regards,
Petr