Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set_vma_resv_map

Proto:static void set_vma_resv_map(struct vm_area_struct *vma, struct resv_map *map)

Type:void

Parameter:

TypeParameterName
struct vm_area_struct *vma
struct resv_map *map
727  VM_BUG_ON_VMA(!is_vm_hugetlb_page(vma), vma)
728  VM_BUG_ON_VMA(Flags, see mm.h. & VM_MAYSHARE, vma)
730  set_vma_private_data(vma, (These helpers are used to track how many pages are reserved for* faults in a MAP_PRIVATE mapping & HPAGE_RESV_MASK) | (unsignedlong)map)
Caller
NameDescribe
hugetlb_reserve_pages