函数逻辑报告 |
Source Code:mm\oom_kill.c |
Create Date:2022-07-27 15:29:00 |
Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:m_badness - heuristic function to determine which candidate task to kill*@p: task struct of which task we should calculate*@totalpages: total present RAM allowed for page allocation* The heuristic for determining which task to kill is made to be as simple
函数原型:unsigned long oom_badness(struct task_struct *p, unsigned long totalpages)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | p | |
unsigned long | totalpages |
207 | 如果非p则返回:0 |
215 | adj等于oom_score_adj |
219 | task_unlock(p) |
220 | 返回:0 |
229 | task_unlock(p) |
232 | adj乘等于totalpages除1000 |
名称 | 描述 |
---|---|
oom_evaluate_task |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |