Function report |
Source Code:mm\oom_kill.c |
Create Date:2022-07-28 14:06:11 |
Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__oom_reap_task_mm
Proto:bool __oom_reap_task_mm(struct mm_struct *mm)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct mm_struct * | mm |
515 | bool ret = true |
526 | If Not can_madv_lru_vma(vma) Then Continue |
539 | If vma_is_anonymous(vma) || Not (Flags, see mm.h. & VM_SHARED) Then |
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) |
547 | If mmu_notifier_invalidate_range_start_nonblock( & range) Then |
552 | unmap_page_range( & tlb, vma, start, end, NULL) |
554 | tlb_finish_mmu( & tlb, start, end) |
558 | Return ret |
Name | Describe |
---|---|
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. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |