函数逻辑报告 |
Source Code:mm\oom_kill.c |
Create Date:2022-07-27 15:29:44 |
Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Determines whether the kernel must panic because of the panic_on_oom sysctl.
函数原型:static void check_panic_on_oom(struct oom_control *oc)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct oom_control * | oc |
1001 | 如果此条件成立可能性大(为编译器优化)(!sysctl_panic_on_oom)则返回 |
1003 | 如果sysctl_panic_on_oom不等于2则 |
1009 | 如果Used to print the constraint info. 不等于CONSTRAINT_NONE则返回 |
1015 | dump_header(oc, NULL) |
名称 | 描述 |
---|---|
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 插件可实现:逻辑报告 代码生成和批量转换代码 |