diff options
| author | Tejun Heo <tj@kernel.org> | 2016-03-08 11:51:25 -0500 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:51:01 +0300 |
| commit | d3da2e1818ab5bafac34bc62f1a6bac64e2f603b (patch) | |
| tree | 873cdc008222cc587c43153456c29dc212c2cbc1 /tools/perf/scripts/python/syscall-counts.py | |
| parent | b73ad13d7ea13f17381465a6ef2bc1e92938bb57 (diff) | |
cgroup: move migration destination verification out of cgroup_migrate_prepare_dst()
cgroup_migrate_prepare_dst() verifies whether the destination cgroup
is allowable; however, the test doesn't really belong there. It's too
deep and common in the stack and as a result the test itself is gated
by another test.
Separate the test out into cgroup_may_migrate_to() and update
cgroup_attach_task() and cgroup_transfer_tasks() to perform the test
directly. This doesn't cause any behavior differences.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
