Skip to contentSkip to conversation

cgroup fixes #2 for v6.0-rc2

GIT PULL Merged Tejun Heo 2 participants 2 messages Aug 25, 2022 cgroup

lore
Share & tools
lore

Tejun Heo

author maintainer
#0 lore raw

The following changes since commit 763f4fb76e24959c370cdaa889b2492ba6175580:

cgroup: Fix race condition at rebind_subsystems() (2022-08-23 08:11:06 -1000)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git/ tags/cgroup-for-6.0-rc2-fixes-2

for you to fetch changes up to 43626dade36fa74d3329046f4ae2d7fdefe401c6:

cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all() (2022-08-25 07:36:30 -1000)

----------------------------------------------------------------
4f7e7236435ca0ab ("cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlock") in the previous fix pull required cgroup core to grab cpus_read_lock() before invoking ->attach(). Unfortunately, it missed adding cpus_read_lock() in cgroup_attach_task_all(). Fix it.

----------------------------------------------------------------
Tetsuo Handa (1):
cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()

 kernel/cgroup/cgroup-v1.c | 2 ++
 1 file changed, 2 insertions(+)