Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:08:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:group_migrate_vet_dst - verify whether a cgroup can be migration destination*@dst_cgrp: destination cgroup to test* On the default hierarchy, except for the mixable, (possible) thread root* and threaded cgroups, subtree_control must be zero for migration*
Proto:int cgroup_migrate_vet_dst(struct cgroup *dst_cgrp)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct cgroup * | dst_cgrp |
2504 | If Not a domain which isn't connected to the root w/o brekage can't be used Then Return -EOPNOTSUPP |
2508 | If an @cgrp host both domain and threaded children? Then Return 0 |
2515 | If an @cgrp become a thread root? should always be true for a thread root || cgroup_is_threaded(dst_cgrp) Then Return 0 |
2522 | Return 0 |
Name | Describe |
---|---|
cgroup_attach_task | group_attach_task - attach a task or a whole threadgroup to a cgroup*@dst_cgrp: the cgroup to attach to*@leader: the task or the leader of the threadgroup to be attached*@threadgroup: attach the whole threadgroup? |
cgroup_transfer_tasks | group_trasnsfer_tasks - move tasks from one cgroup to another*@to: cgroup to which the tasks will be moved*@from: cgroup in which the tasks currently reside* Locking rules between cgroup_post_fork() and the migration path* guarantee that, if a task is |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |