Skip to content

Fix deadlock caused by cgroup_mutex and cpu_hotplug_lock

Chen Ridong bpf cgroups lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 3 repliesIn review
  2. v31 patch 14 repliesSuperseded
  3. v11 patch 10 repliesSuperseded

Changes in v4 from the cover letter

- 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.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3cgroup: fix deadlock caused by cgroup_mutex and cpu_hotplug_lockkernel/bpf/cgroup.c kernel/cgroup/cgroup-internal.h kernel/cgroup/cgroup.c+3 -20 replies
2/3workqueue: doc: Add a note saturating the system_wq is not permittedDocumentation/core-api/workqueue.rst+4 -00 replies
3/3workqueue: Adjust WQ_MAX_ACTIVE from 512 to 2048Documentation/core-api/workqueue.rst include/linux/workqueue.h+3 -30 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMichal Koutný
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] Fix deadlock caused by cgroup_mutex and cpu_hotplug_lock

The patch 1 have been reviewed by Michal Koutný.
Add two patches as follow.

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/[email protected]/
Link v2: https://lore.kernel.org/cgroups/[email protected]/
Link v3: https://lore.kernel.org/cgroups/[email protected]/

Chen Ridong (3):
cgroup: fix deadlock caused by cgroup_mutex and cpu_hotplug_lock
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 | 8 ++++++--
 include/linux/workqueue.h            | 2 +-
 kernel/bpf/cgroup.c                  | 2 +-
 kernel/cgroup/cgroup-internal.h      | 1 +
 kernel/cgroup/cgroup.c               | 2 +-
 5 files changed, 10 insertions(+), 5 deletions(-)
Signature · 1 line
2.34.1