anolis-cloud-kernel/kernel/cgroup
Yi Tao 63c90de544 cgroup/cpuset: Make cpuset_attach_task() skip subpartitions CPUs for top_cpuset
ANBZ: #13018

commit 7e27cb6ad4 upstream

It is found that attaching a task to the top_cpuset does not currently
ignore CPUs allocated to subpartitions in cpuset_attach_task(). So the
code is changed to fix that.

Signed-off-by: Waiman Long <longman@redhat.com>
Reviewed-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
[accommodate the 5.10 codebase]
Signed-off-by: Yi Tao <escape@linux.alibaba.com>
Reviewed-by: Tianchen Ding <dtcccc@linux.alibaba.com>
Link: https://gitee.com/anolis/cloud-kernel/pulls/4343
2024-12-23 09:19:56 +00:00
..
Makefile cgroup: Introduce ioasids controller 2022-08-02 16:47:05 +08:00
cgroup-internal.h anolis: sched: support cpu.exstat 2024-11-14 08:46:06 +00:00
cgroup-v1.c cgroup: Remove duplicates in cgroup v1 tasks file 2024-08-06 02:06:10 +00:00
cgroup.c sched/cpuset: Keep track of SCHED_DEADLINE task in cpusets 2024-08-06 02:06:10 +00:00
cpuset.c cgroup/cpuset: Make cpuset_attach_task() skip subpartitions CPUs for top_cpuset 2024-12-23 09:19:56 +00:00
debug.c kernel: cgroup: fix misuse of %x 2019-05-06 08:47:48 -07:00
freezer.c cgroup: freezer: don't change task and cgroups status unnecessarily 2019-11-07 07:38:41 -08:00
ioasids.c anolis: cgroup: skip kthread in ioasid subsys 2024-03-04 07:03:54 +00:00
legacy_freezer.c cgroup: rename freezer.c into legacy_freezer.c 2019-04-19 11:26:48 -07:00
namespace.c nsproxy: add struct nsset 2020-05-09 13:57:12 +02:00
pids.c clone3: allow spawning processes into cgroups 2020-02-12 17:57:51 -05:00
rdma.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 451 2019-06-19 17:09:08 +02:00
rstat.c anolis: sched: support cpu.exstat 2024-11-14 08:46:06 +00:00