[GIT PULL] cgroup: Fixes for v6.12-rc5

From: Tejun Heo
Date: Tue Oct 29 2024 - 20:48:57 EST


The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc:

Linux 6.12-rc1 (2024-09-29 15:06:19 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git/ tags/cgroup-for-6.12-rc5-fixes

for you to fetch changes up to 3cc4e13bb1617f6a13e5e6882465984148743cf4:

cgroup: Fix potential overflow issue when checking max_depth (2024-10-14 13:39:25 -1000)

----------------------------------------------------------------
cgroup: Fixes for v6.12-rc5

- cgroup_bpf_release_fn() could saturate system_wq with
cgrp->bpf.release_work which can then form a circular dependency leading
to deadlocks. Fix by using a dedicated workqueue. The system_wq's max
concurrency limit is being increased separately.

- Fix theoretical off-by-one bug when enforcing max cgroup hierarchy depth.

----------------------------------------------------------------
Chen Ridong (1):
cgroup/bpf: use a dedicated workqueue for cgroup bpf destruction

Xiu Jianfeng (1):
cgroup: Fix potential overflow issue when checking max_depth

kernel/bpf/cgroup.c | 19 ++++++++++++++++++-
kernel/cgroup/cgroup.c | 4 ++--
2 files changed, 20 insertions(+), 3 deletions(-)

--
tejun