函数逻辑报告 |
Source Code:mm\mmu_gather.c |
Create Date:2022-07-27 16:19:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:lb_gather_mmu - initialize an mmu_gather structure for page-table tear-down*@tlb: the mmu_gather structure to initialize*@mm: the mm_struct of the target address space*@start: start of the region that will be removed from the page-table*@end: end of the
函数原型:void tlb_gather_mmu(struct mmu_gather *tlb, struct mm_struct *mm, unsigned long start, unsigned long end)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct mmu_gather * | tlb | |
| struct mm_struct * | mm | |
| unsigned long | start | |
| unsigned long | end |
| 212 | we are in the middle of an operation to clear* a full mm and can make some optimizations等于非start按位或end加1的值 |
| 216 | next = NULL |
| 217 | nr等于0 |
| 220 | batch_count等于0 |
| 230 | __tlb_reset_range(tlb) |
| 231 | inc_tlb_flush_pending(mm) |
| 名称 | 描述 |
|---|---|
| zap_page_range | 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 |
| zap_page_range_single | zap_page_range_single - remove user pages in a given range*@vma: vm_area_struct holding the applicable pages*@address: starting address of pages to zap*@size: number of bytes to zap*@details: details of shared cache invalidation |
| unmap_region | |
| exit_mmap | Release all mmaps. |
| madvise_cold | |
| madvise_pageout | |
| madvise_free_single_vma | |
| unmap_hugepage_range | |
| __oom_reap_task_mm | |
| shift_arg_pages | During bprm_mm_init(), we create a temporary stack at STACK_TOP_MAX. Once* the binfmt code determines where the new stack should reside, we shift it to* its final location. The process proceeds as follows:* 1) Use shift to calculate the new vma endpoints. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |