| Function report | 
| Source Code: mm\hugetlb.c | Create Date:2022-07-28 15:25:41 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:is_vma_resv_set
Proto:static int is_vma_resv_set(struct vm_area_struct *vma, unsigned long flag)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct vm_area_struct * | vma | |
| unsigned long | flag | 
| 744 | VM_BUG_ON_VMA(!is_vm_hugetlb_page(vma), vma) | 
| 746 | Return (These helpers are used to track how many pages are reserved for* faults in a MAP_PRIVATE mapping & flag) != 0 | 
| Name | Describe | 
|---|---|
| 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 | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |