函数逻辑报告 |
Source Code:mm\oom_kill.c |
Create Date:2022-07-27 15:28:56 |
Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:The process p may have detached its own ->mm while exiting or through* use_mm(), but one or more of its subthreads may still have a valid* pointer. Return p, or any of its subthreads with a valid ->mm, with* task_lock() held.
函数原型:struct task_struct *find_lock_task_mm(struct task_struct *p)
返回类型:struct task_struct
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | p |
138 | for_each_thread(p, t) |
140 | 如果此条件成立可能性大(为编译器优化)(mm)则转到:found |
142 | task_unlock(t) |
144 | t = NULL |
145 | found : |
148 | 返回:t |
名称 | 描述 |
---|---|
oom_badness | 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 |
dump_task | |
__oom_kill_process |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |