函数逻辑报告 |
Source Code:mm\hugetlb.c |
Create Date:2022-07-27 16:56:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:is_vma_resv_set
函数原型:static int is_vma_resv_set(struct vm_area_struct *vma, unsigned long flag)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | flag |
744 | VM_BUG_ON_VMA(!is_vm_hugetlb_page(vma), vma) |
746 | 返回:These helpers are used to track how many pages are reserved for* faults in a MAP_PRIVATE mapping按位与flag的值不等于0 |
名称 | 描述 |
---|---|
vma_has_reserves | Returns true if the VMA has associated reserve pages |
__vma_reservation_common | |
hugetlb_vm_op_open | |
hugetlb_vm_op_close | |
unmap_ref_private | This is called when the original mapper is failing to COW a MAP_PRIVATE* mappping it owns the reserve page for. The intention is to unmap the page* from other VMAs and let the children be SIGKILLed if they are faulting the* same region. |
hugetlb_cow | Hugetlb_cow() should be called with page lock of the original hugepage held.* Called with hugetlb_instantiation_mutex held and pte_page locked so we* cannot race with other handlers or page migration. |
hugetlb_no_page | |
hugetlb_reserve_pages |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |