函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:43:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mem_cgroup_scan_tasks - iterate over tasks of a memory cgroup hierarchy*@memcg: hierarchy root*@fn: function to call for each task*@arg: argument passed to @fn* This function iterates over tasks attached to @memcg or to any of its
函数原型:int mem_cgroup_scan_tasks(struct mem_cgroup *memcg, int (*fn)(struct task_struct *, void *), void *arg)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mem_cgroup * | memcg | |
int (* | fn | |
void * | arg |
1182 | ret等于0 |
1184 | BUG_ON(memcg == root_mem_cgroup) |
1194 | 如果ret则 |
1196 | 退出 |
1199 | 返回:ret |
名称 | 描述 |
---|---|
dump_tasks | dump_tasks - dump current memory state of all system tasks*@oc: pointer to struct oom_control* Dumps the current memory state of all eligible tasks. Tasks not in the same* memcg, not in the same cpuset, or bound to a disjoint set of mempolicy nodes |
oom_kill_process | |
select_bad_process | Simple selection loop. We choose the process with the highest number of* 'points'. In case scan was aborted, oc->chosen is set to -1. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |