函数逻辑报告 | 
Source Code:mm\oom_kill.c | 
Create Date:2022-07-27 15:29:32 | 
| Last Modify:2022-05-23 13:16:41 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:m_killer_disable - disable OOM killer*@timeout: maximum timeout to wait for oom victims in jiffies* Forces all page allocations to fail rather than trigger OOM killer
函数原型:bool oom_killer_disable(signed long timeout)
返回类型:bool
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| signed long | timeout | 
| 765 | 如果mutex_lock_killable( & Serializes oom killer invocations (out_of_memory()) from all contexts to* prevent from over eager oom killing (e)则返回:false | 
| 767 | oom_killer_disabled = true | 
| 772 | 如果ret小于等于0则 | 
| 774 | 返回:false | 
| 776 | 打印信息("OOM killer disabled.\n") | 
| 778 | 返回:true | 
| 名称 | 描述 | 
|---|---|
| freeze_processes | ze_processes - Signal user space processes to enter the refrigerator.* The current thread will not be frozen. The same process that calls* freeze_processes must later call thaw_processes.* On success, returns 0 | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |