函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmalloc.c Create Date:2022-07-27 16:29:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:free_vmap_block

函数原型:static void free_vmap_block(struct vmap_block *vb)

返回类型:void

参数:

类型参数名称
struct vmap_block *vb
1553  vb_idx等于We should probably have a fallback mechanism to allocate virtual memory* out of partially filled vmap blocks. However vmap block sizing should be* fairly reasonable according to the vmalloc size, so it shouldn't be a* big problem.
1554  加自旋锁
1555  tmp等于删除radix树项目
1556  自旋锁解锁
1557  BUG_ON(tmp != vb)
1559  Free a vmap area, caller ensuring that the area has been unmapped* and flush_cache_vunmap had been called for the correct range* previously.
1560  kfree_rcu() - kfree an object after a grace period(vb, rcu_head)
调用者
名称描述
purge_fragmented_blocks
vb_free