[GIT PULL] cgroup fixes for v6.3-rc6

From: Tejun Heo
Date: Thu Apr 13 2023 - 19:03:40 EST


The following changes since commit 8d3c682a5e3d9dfc2448ecbb22f4cd48359b9e21:

Merge tag 'block-6.3-2023-03-16' of git://git.kernel.dk/linux (2023-03-17 11:20:27 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git/ tags/cgroup-for-6.3-rc6-fixes

for you to fetch changes up to 7e27cb6ad4d85fc8bac2a2a896da62ef66b8598e:

cgroup/cpuset: Make cpuset_attach_task() skip subpartitions CPUs for top_cpuset (2023-04-12 08:23:58 -1000)

----------------------------------------------------------------
cgroup: Fixes for v6.3-rc6

* Fix several cpuset bugs including one where it wasn't applying the target
cgroup when tasks are created with CLONE_INTO_CGROUP.

* Fix inversed locking order in cgroup1 freezer implementation.

* Fix garbage cpu.stat::core_sched.forceidle_usec reporting in the root
cgroup.

This is a relatively big pull request this late in the cycle but the major
contributor is the above mentioned cpuset bug which is rather significant.

----------------------------------------------------------------
Josh Don (1):
cgroup: fix display of forceidle time at root

Tetsuo Handa (1):
cgroup,freezer: hold cpu_hotplug_lock before freezer_mutex

Waiman Long (5):
cgroup/cpuset: Fix partition root's cpuset.cpus update bug
cgroup/cpuset: Wake up cpuset_attach_wq tasks in cpuset_cancel_attach()
cgroup/cpuset: Make cpuset_fork() handle CLONE_INTO_CGROUP properly
cgroup/cpuset: Add cpuset_can_fork() and cpuset_cancel_fork() methods
cgroup/cpuset: Make cpuset_attach_task() skip subpartitions CPUs for top_cpuset

kernel/cgroup/cpuset.c | 178 +++++++++++++++++++++++++++++++++--------
kernel/cgroup/legacy_freezer.c | 7 +-
kernel/cgroup/rstat.c | 4 +-
3 files changed, 150 insertions(+), 39 deletions(-)