[GIT PULL] cgroup fixes for v6.0-rc2

From: Tejun Heo
Date: Tue Aug 23 2022 - 19:45:36 EST


The following changes since commit 568035b01cfb107af8d2e4bd2fb9aea22cf5b868:

Linux 6.0-rc1 (2022-08-14 15:50:18 -0700)

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

for you to fetch changes up to 763f4fb76e24959c370cdaa889b2492ba6175580:

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

----------------------------------------------------------------
cgroup fixes for v6.0-rc2

Contains fixes for the following issues:

* psi data structure was changed to be allocated dynamically but it wasn't
being cleared leading to reporting garbage values and triggering spurious
oom kills.

* A deadlock involving cpuset and cpu hotplug.

* When a controller is moved across cgroup hierarchies, css->rstat_css_node
didn't get RCU drained properly from the previous list.

----------------------------------------------------------------
Hao Jia (3):
sched/psi: Zero the memory of struct psi_group
sched/psi: Remove unused parameter nbytes of psi_trigger_create()
sched/psi: Remove redundant cgroup_psi() when !CONFIG_CGROUPS

Jing-Ting Wu (1):
cgroup: Fix race condition at rebind_subsystems()

Tejun Heo (1):
cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlock

include/linux/cgroup.h | 5 ----
include/linux/psi.h | 2 +-
kernel/cgroup/cgroup.c | 80 +++++++++++++++++++++++++++++++++++---------------
kernel/cgroup/cpuset.c | 3 +-
kernel/sched/psi.c | 10 ++-----
5 files changed, 61 insertions(+), 39 deletions(-)