Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__get_vma_policy

Proto:struct mempolicy *__get_vma_policy(struct vm_area_struct *vma, unsigned long addr)

Type:struct mempolicy

Parameter:

TypeParameterName
struct vm_area_struct *vma
unsigned longaddr
1720  struct mempolicy * pol = NULL
1722  If vma Then
1724  pol = get_policy(vma, addr)
1725  Else if NUMA policy for the VMA Then
1739  Return pol
Caller
NameDescribe
get_vma_policyget_vma_policy(@vma, @addr)*@vma: virtual memory area whose policy is sought*@addr: address in @vma for shared policy lookup* Returns effective policy for a VMA at specified address