Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:07:26 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:a domain which isn't connected to the root w/o brekage can't be used
Proto:static bool cgroup_is_valid_domain(struct cgroup *cgrp)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cgroup * | cgrp |
| 403 | If cgroup_is_threaded(cgrp) Then Return false |
| 407 | When cgrp = cgroup_parent(cgrp) cycle |
| 408 | If Not an @cgrp host both domain and threaded children? && s @cgrp root of a threaded subtree? Then Return false |
| 410 | If cgroup_is_threaded(cgrp) Then Return false |
| 414 | Return true |
| Name | Describe |
|---|---|
| cgroup_migrate_vet_dst | 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* |
| cgroup_vet_subtree_control_enable | |
| cgroup_enable_threaded | group_enable_threaded - make @cgrp threaded*@cgrp: the target cgroup* Called when "threaded" is written to the cgroup.type interface file and* tries to make @cgrp threaded and join the parent's resource domain. |
| cgroup_type_show |
| 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 |