Function report |
Source Code:mm\memory.c |
Create Date:2022-07-28 14:40:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:zap_page_range - remove user pages in a given range*@vma: vm_area_struct holding the applicable pages*@start: starting address of pages to zap*@size: number of bytes to zap* Caller must protect the VMA list
Proto:void zap_page_range(struct vm_area_struct *vma, unsigned long start, unsigned long size)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct vm_area_struct * | vma | |
| unsigned long | start | |
| unsigned long | size |
| 1350 | lru_add_drain() |
| 1351 | mmu_notifier_range_init( & range, MMU_NOTIFY_CLEAR, 0, vma, The address space we belong to. , start, start + size) |
| 1353 | tlb_gather_mmu( & tlb, The address space we belong to. , start, end) |
| 1355 | mmu_notifier_invalidate_range_start( & range) |
| 1356 | When vma && Our start address within vm_mm. < end cycle unmap_single_vma( & tlb, vma, start, end, NULL) |
| 1358 | mmu_notifier_invalidate_range_end( & range) |
| 1359 | tlb_finish_mmu( & tlb, start, end) |
| Name | Describe |
|---|---|
| madvise_dontneed_single_vma | Application no longer needs these pages |
| 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 |