[PATCH v5 0/3] add dedicated wq for cgroup bpf and adjust WQ_MAX_ACTIVE

Chen Ridong posted 3 patches 2 months ago
There is a newer version of this series
Documentation/core-api/workqueue.rst |  9 +++++++--
include/linux/workqueue.h            |  2 +-
kernel/bpf/cgroup.c                  | 18 +++++++++++++++++-
3 files changed, 25 insertions(+), 4 deletions(-)
[PATCH v5 0/3] add dedicated wq for cgroup bpf and adjust WQ_MAX_ACTIVE
Posted by Chen Ridong 2 months ago
From: Chen Ridong <chenridong@huawei.com>

The patch series add a dedicated workqueue for cgroup bpf destruction,
add adjust WQ_MAX_ACTIVE from 512 to 2048.

v5:
- use a dedicated workqueue for cgroup bpf destruction.
- update some messages for TJ's feedbacks.

v4:
- add a patch to document that saturating the system_wq is not permitted.
- add a patch to adjust WQ_MAX_ACTIVE from 512 to 2048.

v3:
- optimize commit msg.

Link v1: https://lore.kernel.org/cgroups/20240607110313.2230669-1-chenridong@huawei.com/
Link v2: https://lore.kernel.org/cgroups/20240719025232.2143638-1-chenridong@huawei.com/
Link v3: https://lore.kernel.org/cgroups/20240817093334.6062-1-chenridong@huawei.com/



Chen Ridong (3):
  cgroup/bpf: use a dedicated workqueue for cgroup bpf destruction
  workqueue: doc: Add a note saturating the system_wq is not permitted
  workqueue: Adjust WQ_MAX_ACTIVE from 512 to 2048

 Documentation/core-api/workqueue.rst |  9 +++++++--
 include/linux/workqueue.h            |  2 +-
 kernel/bpf/cgroup.c                  | 18 +++++++++++++++++-
 3 files changed, 25 insertions(+), 4 deletions(-)

-- 
2.34.1
Re: [PATCH v5 0/3] add dedicated wq for cgroup bpf and adjust WQ_MAX_ACTIVE
Posted by Tejun Heo 2 months ago
Hello,

On Mon, Sep 23, 2024 at 11:43:49AM +0000, Chen Ridong wrote:
> The patch series add a dedicated workqueue for cgroup bpf destruction,
> add adjust WQ_MAX_ACTIVE from 512 to 2048.

Patchset generally looks good to me. I'll wait for an updated version
addressing Michal's comments.

Thanks.

-- 
tejun
Re: [PATCH v5 0/3] add dedicated wq for cgroup bpf and adjust WQ_MAX_ACTIVE
Posted by Chen Ridong 2 months ago

On 2024/9/28 3:56, Tejun Heo wrote:
> Hello,
> 
> On Mon, Sep 23, 2024 at 11:43:49AM +0000, Chen Ridong wrote:
>> The patch series add a dedicated workqueue for cgroup bpf destruction,
>> add adjust WQ_MAX_ACTIVE from 512 to 2048.
> 
> Patchset generally looks good to me. I'll wait for an updated version
> addressing Michal's comments.
> 
> Thanks.
> 

Thank you, TJ, I will update version if Michal thinks the "NOTE" is 
acceptable. I am waiting his reply.

Best regards,
Ridong