[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZwV9uH30yukKQeSZ@slm.duckdns.org>
Date: Tue, 8 Oct 2024 08:45:12 -1000
From: Tejun Heo <tj@...nel.org>
To: Chen Ridong <chenridong@...weicloud.com>
Cc: martin.lau@...ux.dev, ast@...nel.org, daniel@...earbox.net,
andrii@...nel.org, eddyz87@...il.com, song@...nel.org,
yonghong.song@...ux.dev, john.fastabend@...il.com,
kpsingh@...nel.org, sdf@...gle.com, haoluo@...gle.com,
jolsa@...nel.org, lizefan.x@...edance.com, hannes@...xchg.org,
roman.gushchin@...ux.dev, mkoutny@...e.com, bpf@...r.kernel.org,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org,
chenridong@...wei.com
Subject: Re: [PATCH v6 1/3] cgroup/bpf: use a dedicated workqueue for cgroup
bpf destruction
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@huawei.com/T/#t
> Tested-by: Vishal Chourasia <vishalc@...ux.ibm.com>
> Signed-off-by: Chen Ridong <chenridong@...wei.com>
Applied to cgroup/for-6.12-fixes w/ stable cc'd.
Thanks.
--
tejun
Powered by blists - more mailing lists