Re: [PATCH v5] cgroup: split cgroup_destroy_wq into 3 workqueues
From: Tejun Heo
Date: Mon Aug 18 2025 - 13:13:51 EST
Hello,
On Mon, Aug 18, 2025 at 06:14:35AM +0000, Chen Ridong wrote:
...
> + * Rationale for using separate workqueues:
> + * The cgroup root free work may depend on completion of other css offline
> + * operations. If all tasks were enqueued to a single workqueue, this could
> + * create a deadlock scenario where:
> + * - Free work waits for other css offline work to complete.
> + * - But other css offline work is queued after free work in the same queue.
Can you please refer to the concrete example too?
Thanks.
--
tejun