diff options
| author | Tejun Heo <tj@kernel.org> | 2016-02-23 10:00:51 -0500 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:50:53 +0300 |
| commit | c7f6c9c1712227419b085a32c652bb4a163f6e13 (patch) | |
| tree | cdd2942813ae112e57f44e2a735b14eaf1582a83 /tools/perf/scripts/python/netdev-times.py | |
| parent | abfb376960dc08fb18cfbdab2e25162d33747b40 (diff) | |
cgroup: use ->subtree_control when testing no internal process rule
No internal process rule is enforced by cgroup_migrate_prepare_dst()
during process migration. It tests whether the target cgroup's
->child_subsys_mask is zero which is different from "subtree_control"
write path which tests ->subtree_control. This hasn't mattered
because up until now, both ->child_subsys_mask and ->subtree_control
are zero or non-zero at the same time. However, with the planned
addition of implicit controllers, this will no longer be true.
This patch prepares for the change by making
cgorup_migrate_prepare_dst() test ->subtree_control instead.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
