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

Chen Ridong posted 3 patches 1 month, 2 weeks ago
Documentation/core-api/workqueue.rst |  9 +++++++--
include/linux/workqueue.h            |  2 +-
kernel/bpf/cgroup.c                  | 19 ++++++++++++++++++-
3 files changed, 26 insertions(+), 4 deletions(-)
[PATCH v6 0/3] add dedicated wq for cgroup bpf and adjust WQ_MAX_ACTIVE
Posted by Chen Ridong 1 month, 2 weeks 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.

v6:
- panic when the alloc_workqueue fails, suggested by Michal.
- update note in doc, suggested by Michal.

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                  | 19 ++++++++++++++++++-
 3 files changed, 26 insertions(+), 4 deletions(-)

-- 
2.34.1