Re: [RFC PATCH v2 1/3] workqueue: support pausing ordered workqueues

From: Tejun Heo
Date: Wed May 10 2023 - 16:14:07 EST


On Wed, May 10, 2023 at 10:12:03PM +0200, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@xxxxxxxxx>
>
> Add some infrastructure to support pausing ordered
> workqueues, so that no work items are executing nor
> can execute while the workqueue is paused.
>
> This can be used to simplify locking between work
> structs and other processes (e.g. userspace calls)
> when the workqueue is paused while other code is
> running, where we can then more easily avoid issues
> in code paths needing to cancel works.
>
> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>

I'd be happy to apply this once the rest of the patchset is ready.

Thanks.

--
tejun