函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:13:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:group_post_fork - called on a new task after adding it to the task list*@child: the task in question* Adds the task to the list running through its css_set if necessary and* call the subsystem fork() callbacks
函数原型:void cgroup_post_fork(struct task_struct *child)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | child |
5933 | spin_lock_irq( & css_set_lock) |
5936 | 如果此条件成立可能性大(为编译器优化)(进程ID)则 |
5937 | WARN_ON_ONCE(!链表为空) |
5938 | cset等于获得任务的css_set |
5949 | 如果此条件成立可能性小(为编译器优化)(cgroup_task_freeze(child))则 |
5963 | spin_unlock_irq( & css_set_lock) |
5970 | 循环 |
5970 | __ss_mask等于These bitmasks identify subsystems with specific features to avoid* having to do iterative checks repeatedly. |
5970 | 如果非CGROUP_SUBSYS_COUNT则 |
5970 | 以i小于CGROUP_SUBSYS_COUNT循环 |
5970 | ss等于cgroup_subsys[i] |
5972 | 当(false)循环 |
名称 | 描述 |
---|---|
copy_process | 创建进程 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |