函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:44:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mem_cgroup_get_oom_group - get a memory cgroup to clean up after OOM*@victim: task to be killed by the OOM killer*@oom_domain: memcg in case of memcg OOM, NULL in case of system-wide OOM* Returns a pointer to a memory cgroup, which has to be cleaned up
函数原型:struct mem_cgroup *mem_cgroup_get_oom_group(struct task_struct *victim, struct mem_cgroup *oom_domain)
返回类型:struct mem_cgroup
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | victim | |
struct mem_cgroup * | oom_domain |
1904 | struct mem_cgroup * oom_group = NULL |
1907 | 如果非cgroup_subsys_on_dfl - fast test on whether a subsys is on default hierarchy*@ss: subsystem in question(memory_cgrp_subsys)则返回:NULL |
1910 | 如果非oom_domain则oom_domain等于root_mem_cgroup |
1915 | memcg等于mem_cgroup_from_task(victim) |
1916 | 如果memcg恒等于root_mem_cgroup则转到:out |
1928 | 如果memcg恒等于oom_domain则退出 |
1934 | out : |
1937 | 返回:oom_group |
名称 | 描述 |
---|---|
oom_kill_process |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |