Re: [PATCH v6 1/3] cgroup/bpf: use a dedicated workqueue for cgroup bpf destruction

From: Tejun Heo
Date: Tue Oct 08 2024 - 14:45:35 EST


On Tue, Oct 08, 2024 at 11:24:56AM +0000, Chen Ridong wrote:
...
> To fix the problem, place cgroup_bpf_release works on a dedicated
> workqueue which can break the loop and solve the problem. System wqs are
> for misc things which shouldn't create a large number of concurrent work
> items. If something is going to generate >WQ_DFL_ACTIVE(256) concurrent
> work items, it should use its own dedicated workqueue.
>
> Fixes: 4bfc0bb2c60e ("bpf: decouple the lifetime of cgroup_bpf from cgroup itself")
> Link: https://lore.kernel.org/cgroups/e90c32d2-2a85-4f28-9154-09c7d320cb60@xxxxxxxxxx/T/#t
> Tested-by: Vishal Chourasia <vishalc@xxxxxxxxxxxxx>
> Signed-off-by: Chen Ridong <chenridong@xxxxxxxxxx>

Applied to cgroup/for-6.12-fixes w/ stable cc'd.

Thanks.

--
tejun