Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vma_policy_mof

Proto:bool vma_policy_mof(struct vm_area_struct *vma)

Type:bool

Parameter:

TypeParameterName
struct vm_area_struct *vma
1769  If Function pointers to deal with this struct. && get_policy Then
1770  bool ret = false
1772  pol = get_policy(vma, Our start address within vm_mm. )
1773  If pol && See set_mempolicy() MPOL_F_* above & his policy wants migrate on fault Then ret = true
1775  mpol_cond_put(pol)
1777  Return ret
1780  pol = NUMA policy for the VMA
1781  If Not pol Then pol = get_task_policy(current process)
1784  Return See set_mempolicy() MPOL_F_* above & his policy wants migrate on fault