函数逻辑报告 |
Source Code:mm\oom_kill.c |
Create Date:2022-07-27 15:29:21 |
Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__oom_reap_task_mm
函数原型:bool __oom_reap_task_mm(struct mm_struct *mm)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_struct * | mm |
515 | bool ret = true |
526 | 如果非can_madv_lru_vma(vma)则继续下一循环 |
539 | 如果vma_is_anonymous(vma)或非Flags, see mm.h. 按位与VM_SHARED的值则 |
543 | mmu_notifier_range_init( & range, MMU_NOTIFY_UNMAP, 0, vma, mm, Our start address within vm_mm. , The first byte after our end addresswithin vm_mm. ) |
546 | tlb_gather_mmu( & tlb, mm, start, end) |
552 | unmap_page_range( & tlb, vma, start, end, NULL) |
554 | tlb_finish_mmu( & tlb, start, end) |
558 | 返回:ret |
名称 | 描述 |
---|---|
oom_reap_task_mm | 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. |
exit_mmap | Release all mmaps. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |