cgroup: drop @skip_css from cgroup_taskset_for_each()
If !NULL, @skip_css makes cgroup_taskset_for_each() skip the matching css. The intention of the interface is to make it easy to skip css's (cgroup_subsys_states) which already match the migration target; however, this is entirely unnecessary as migration taskset doesn't include tasks which are already in the target cgroup. Drop @skip_css from cgroup_taskset_for_each(). Signed-off-by:Tejun Heo <tj@kernel.org> Acked-by:
Li Zefan <lizefan@huawei.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Cc: Daniel Borkmann <dborkman@redhat.com>
Showing
- block/blk-cgroup.c 1 addition, 1 deletionblock/blk-cgroup.c
- include/linux/cgroup.h 2 additions, 6 deletionsinclude/linux/cgroup.h
- kernel/cgroup_freezer.c 1 addition, 1 deletionkernel/cgroup_freezer.c
- kernel/cpuset.c 2 additions, 2 deletionskernel/cpuset.c
- kernel/events/core.c 1 addition, 1 deletionkernel/events/core.c
- kernel/sched/core.c 2 additions, 2 deletionskernel/sched/core.c
- net/core/netclassid_cgroup.c 1 addition, 1 deletionnet/core/netclassid_cgroup.c
- net/core/netprio_cgroup.c 1 addition, 1 deletionnet/core/netprio_cgroup.c
Loading
Please register or sign in to comment