| Function report | 
| Source Code: kernel\cgroup\cgroup.c | Create Date:2022-07-28 11:08:27 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:init_cgroup_housekeeping
Proto:static void init_cgroup_housekeeping(struct cgroup *cgrp)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct cgroup * | cgrp | 
| 1892 | mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & pidlist_mutex) | 
| 1894 | flags |= CSS_ONLINE | 
| 1896 | max_descendants = INT_MAX | 
| 1899 | prev_cputime_init( & for printing out cputime ) | 
| 1901 | r_each_subsys - iterate all enabled cgroup subsystems*@ss: the iteration cursor*@ssid: the index of @ss, CGROUP_SUBSYS_COUNT after reaching the end(ss, ssid) | 
| Name | Describe | 
|---|---|
| init_cgroup_root | |
| cgroup_create | The returned cgroup is fully initialized including its control mask, but* it isn't associated with its kernfs_node and doesn't have the control* mask applied. | 
| 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 |