diff options
| author | Tejun Heo <[email protected]> | 2016-03-08 16:51:25 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2016-03-08 16:51:25 +0000 |
| commit | 6c694c88255b2052d9922d62df6df7c9e152eeeb (patch) | |
| tree | 9eacd31f55f9f513240739d04a3ee0bfd02cf5ff /net/unix/af_unix.c | |
| parent | cgroup: fix incorrect destination cgroup in cgroup_update_dfl_csses() (diff) | |
| download | kernel-6c694c88255b2052d9922d62df6df7c9e152eeeb.tar.gz kernel-6c694c88255b2052d9922d62df6df7c9e152eeeb.zip | |
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 <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
