Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:11:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:group_init_early - cgroup initialization at system boot* Initialize cgroups at system boot, and initialize any* subsystems that request early init.
Proto:int __init cgroup_init_early(void)
Type:int
Parameter:Nothing
5605 | static struct cgroup_fs_context __initdata ctx |
5609 | root = The default hierarchy, reserved for the subsystems that are otherwise* unattached - it never has more than a single cgroup, and all tasks are* part of that cgroup. |
5610 | init_cgroup_root( & ctx) |
5611 | flags |= CSS_NO_REF |
5616 | WARN(!css_alloc || !css_free || name || the following two fields are initialized automtically during boot , "invalid cgroup_subsys %d:%s css_alloc=%p css_free=%p id:name=%d:%s\n", i, cgroup_subsys_name[i], css_alloc, css_free, the following two fields are initialized automtically during boot , name) |
5620 | WARN(strlen - Find the length of a string*@s: The string to be sized > MAX_CGROUP_TYPE_NAMELEN, "cgroup_subsys_name %s too long\n", cgroup_subsys_name[i]) |
5624 | name = cgroup_subsys_name[i] |
5625 | If Not optional, initialized automatically during boot if not set Then optional, initialized automatically during boot if not set = cgroup_subsys_name[i] |
5628 | If early_init Then cgroup_init_subsys(ss, true) |
5631 | Return 0 |
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 |