Function report | 
Source Code:mm\mmap.c | 
Create Date:2022-07-28 14:49:33 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Create a list of vma's touched by the unmap, removing them from the mm's* vma list as we go..
Proto:static void detach_vmas_to_be_unmapped(struct mm_struct *mm, struct vm_area_struct *vma, struct vm_area_struct *prev, unsigned long end)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct mm_struct * | mm | |
| struct vm_area_struct * | vma | |
| struct vm_area_struct * | prev | |
| unsigned long | end | 
| 2608 | struct vm_area_struct * tail_vma = NULL | 
| 2610 | insertion_point = If prev Then linked list of VM areas per task, sorted by address Else list of VMAs | 
| 2612 | Do | 
| 2613 | vma_rb_erase(vma, & mm_rb) | 
| 2614 | number of VMAs -- | 
| 2617 | When vma && Our start address within vm_mm. < end cycle | 
| 2618 | insertion_point = vma | 
| 2619 | If vma Then | 
| 2622 | Else highest vma end address = If prev Then vm_end_gap(prev) Else 0 | 
| 2627 | vmacache_invalidate(mm) | 
| Name | Describe | 
|---|---|
| __do_munmap | Munmap is split into 2 main parts -- this part which finds* what needs doing, and the areas themselves, which do the* work. This now handles partial unmappings.* Jeremy Fitzhardinge  | 
| 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  |