Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mempolicy.c Create Date:2022-07-28 15:33:08
Last Modify:2020-03-17 22:28:11 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:vma_dup_policy

Proto:int vma_dup_policy(struct vm_area_struct *src, struct vm_area_struct *dst)

Type:int

Parameter:

TypeParameterName
struct vm_area_struct *src
struct vm_area_struct *dst
2221  pol = mpol_dup(vma_policy(src))
2223  If IS_ERR(pol) Then Return PTR_ERR(pol)
2225  NUMA policy for the VMA = pol
2226  Return 0
Caller
NameDescribe
copy_vmaCopy the vma structure to a new location in the same mm,* prior to moving page table entries, to effect an mremap move.