[PATCH v6 0/3] add dedicated wq for cgroup bpf and adjust WQ_MAX_ACTIVE
From: Chen Ridong
Date: Tue Oct 08 2024 - 07:35:41 EST
From: Chen Ridong <chenridong@xxxxxxxxxx>
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@xxxxxxxxxx/
Link v2: https://lore.kernel.org/cgroups/20240719025232.2143638-1-chenridong@xxxxxxxxxx/
Link v3: https://lore.kernel.org/cgroups/20240817093334.6062-1-chenridong@xxxxxxxxxx/
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