函数逻辑报告 |
Source Code:mm\vmalloc.c |
Create Date:2022-07-27 16:29:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:_vm_unmap_aliases
函数原型:static void _vm_unmap_aliases(unsigned long start, unsigned long end, int flush)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | start | |
unsigned long | end | |
int | flush |
1707 | 如果此条件成立可能性小(为编译器优化)(!vmap_initialized)则返回 |
1710 | might_sleep() |
1718 | 加自旋锁 |
1719 | 如果dirty则 |
1723 | s等于va_start加dirty_min左移PAGE_SHIFT determines the page size 位的值 |
1724 | e等于va_start加< dirty range 左移PAGE_SHIFT determines the page size 位的值 |
1729 | flush等于1 |
1731 | 自旋锁解锁 |
1737 | r per-CPU blocks |
名称 | 描述 |
---|---|
vm_unmap_aliases | vm_unmap_aliases - unmap outstanding lazy aliases in the vmap layer* The vmap/vmalloc layer lazily flushes kernel virtual mappings primarily* to amortize TLB flushing overheads |
vm_remove_mappings | Handle removing and resetting vm mappings related to the vm_struct. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |