[PATCH v2 0/4] cgroup/cpuset: Fix CLONE_INTO_CGROUP problem & other issues

From: Waiman Long
Date: Tue Apr 04 2023 - 13:07:17 EST


v2:
- Drop v1 patch 3
- Add a new patch to fix an issue in cpuset_cancel_attach() and
another patch to add cpuset_can_fork() and cpuset_cacnel_fork()
methods.

The first patch in this series fixes a problem in
cpuset_cancel_attach(). Patches 2 and 3 fixes the CLONE_INTO_CGROUP
problem in cpuset. The last one is a minor fix.

Waiman Long (4):
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 | 150 ++++++++++++++++++++++++++++++++---------
1 file changed, 118 insertions(+), 32 deletions(-)

--
2.31.1