[GIT PULL] cgroup: Fixes for v7.2-rc6
Tejun Heo <[email protected]> Sun, 02 Aug 2026 15:13:20 -1000
| Newsgroups | org.kernel.vger.cgroups,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Hello,
The following changes since commit 97fef602584458b100d383afed9d176c0bc689ab:
Docs/admin-guide/cgroup-v2: note blkcg_debug_stats gates io.latency stats (2026-07-07 12:26:23 -1000)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git tags/cgroup-for-7.2-rc6-fixes
for you to fetch changes up to 2fd9b4cfcefe30cb506072f78f2cd3b6dc8a29b1:
Docs/admin-guide/cgroup-v2: document io.latency rotational vs non-rotational behavior (2026-08-02 11:29:33 -1000)
----------------------------------------------------------------
cgroup: Fixes for v7.2-rc6
- A pressure trigger's poll timer could be re-armed while the last trigger
was being torn down and then fire after the cgroup was freed. Tie the
timer to the cgroup's lifetime and shut it down when the cgroup is freed.
- Writing to a pressure file forked a worker kthread while holding the
cgroup mutex, creating lock dependencies from the mutex to the whole fork
path. A pressure write racing a sched_ext scheduler enable, which blocks
forks before grabbing the mutex, deadlocked. Fork the worker with the
mutex dropped.
- Documentation fix for io.latency behavior on non-rotational devices.
----------------------------------------------------------------
Tao Cui (1):
Docs/admin-guide/cgroup-v2: document io.latency rotational vs non-rotational behavior
Tejun Heo (2):
sched/psi: Create the psimon kthread outside of cgroup_mutex
sched/psi: Shut down rtpoll_timer in psi_cgroup_free()
Documentation/admin-guide/cgroup-v2.rst | 50 ++++++++++++++++------
include/linux/psi.h | 4 +-
kernel/cgroup/cgroup.c | 23 +++++++++-
kernel/sched/psi.c | 75 ++++++++++++++++++++++++++-------
4 files changed, 120 insertions(+), 32 deletions(-)
--
tejun