函数逻辑报告 |
Source Code:mm\oom_kill.c |
Create Date:2022-07-27 15:29:24 |
Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Reaps the address space of the give task.* Returns true on success and false if none or part of the address space* has been reclaimed and the caller should retry later.
函数原型:static bool oom_reap_task_mm(struct task_struct *tsk, struct mm_struct *mm)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | tsk | |
struct mm_struct * | mm |
569 | bool ret = true |
573 | 返回:false |
584 | 转到:out_unlock |
590 | ret等于__oom_reap_task_mm(mm) |
591 | 如果非ret则转到:out_finish |
594 | 打印信息("oom_reaper: reaped process %d (%s), now anon-rss:%lukB, file-rss:%lukB, shmem-rss:%lukB\n", task_pid_nr(tsk), comm, K(per-process(per-mm_struct) statistics.), K(per-process(per-mm_struct) statistics.), K(per-process(per-mm_struct) statistics.)) |
599 | out_finish : |
601 | out_unlock : |
604 | 返回:ret |
名称 | 描述 |
---|---|
oom_reap_task |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |