Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\hugetlb.c Create Date:2022-07-28 15:25:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_vma_resv_flags

Proto:static void set_vma_resv_flags(struct vm_area_struct *vma, unsigned long flags)

Type:void

Parameter:

TypeParameterName
struct vm_area_struct *vma
unsigned longflags
736  VM_BUG_ON_VMA(!is_vm_hugetlb_page(vma), vma)
737  VM_BUG_ON_VMA(Flags, see mm.h. & VM_MAYSHARE, vma)
739  set_vma_private_data(vma, These helpers are used to track how many pages are reserved for* faults in a MAP_PRIVATE mapping | flags)
Caller
NameDescribe
__unmap_hugepage_range
hugetlb_reserve_pages