函数逻辑报告 |
Source Code:mm\oom_kill.c |
Create Date:2022-07-27 15:29:43 |
Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:oom_kill_process
函数原型:static void oom_kill_process(struct oom_control *oc, const char *message)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct oom_control * | oc | |
const char * | message |
971 | task_unlock(victim) |
973 | 如果__ratelimit( & oom_rs)则dump_header(oc, victim) |
981 | oom_group等于mem_cgroup_get_oom_group(victim, Memory cgroup in which oom is invoked, or NULL for global oom ) |
983 | __oom_kill_process(victim, message) |
988 | 如果oom_group则 |
990 | mem_cgroup_scan_tasks(oom_group, Kill provided task unless it's secured by setting* oom_score_adj to OOM_SCORE_ADJ_MIN., (void * )message) |
992 | mem_cgroup_put(oom_group) |
名称 | 描述 |
---|---|
out_of_memory | _of_memory - kill the "best" process when we run out of memory*@oc: pointer to struct oom_control* If we run out of memory, we have the choice between either* killing a random task (bad), letting the system crash (worse) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |