函数逻辑报告 |
Source Code:mm\oom_kill.c |
Create Date:2022-07-27 15:29:17 |
| Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ask->mm can be NULL if the task is the exited group leader. So to* determine whether the task is using a particular mm, we examine all the* task's threads: if one of those is using this mm then this task was also* using it.
函数原型:bool process_shares_mm(struct task_struct *p, struct mm_struct *mm)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct task_struct * | p | |
| struct mm_struct * | mm |
| 494 | for_each_thread(p, t) |
| 499 | 返回:false |
| 名称 | 描述 |
|---|---|
| task_will_free_mem | Checks whether the given task is dying or exiting and likely to* release its address space. This means that all threads and processes* sharing the same mm have to be killed or exiting.* Caller has to make sure that task->mm is stable (hold task_lock or |
| __oom_kill_process |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |