函数逻辑报告 |
Source Code:mm\vmalloc.c |
Create Date:2022-07-27 16:28:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Free a vmap area, caller ensuring that the area has been unmapped* and flush_cache_vunmap had been called for the correct range* previously.
函数原型:static void free_vmap_area_noflush(struct vmap_area *va)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vmap_area * | va |
1365 | 加自旋锁 |
1366 | unlink_va(va, & vmap_area_root) |
1367 | 自旋锁解锁 |
1369 | nr_lazy等于atomic_long_add_return((va_end - va_start) >> PAGE_SHIFT determines the page size , & vmap_lazy_nr) |
1373 | 添加列表项 |
1375 | 如果此条件成立可能性小(为编译器优化)(nr_lazy > lazy_max_pages())则Kick off a purge of the outstanding lazy areas. Don't bother if somebody* is already purging. |
名称 | 描述 |
---|---|
free_unmap_vmap_area | Free and unmap a vmap area |
free_vmap_block |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |