函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mempolicy.c Create Date:2022-07-27 17:05:49
Last Modify:2020-03-17 22:28:11 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:vma_policy_mof

函数原型:bool vma_policy_mof(struct vm_area_struct *vma)

返回类型:bool

参数:

类型参数名称
struct vm_area_struct *vma
1769  如果Function pointers to deal with this struct. get_policy
1770  bool ret = false
1772  pol等于get_policy(vma, Our start address within vm_mm. )
1773  如果polSee set_mempolicy() MPOL_F_* above 按位与his policy wants migrate on fault ret = true
1775  mpol_cond_put(pol)
1777  返回:ret
1780  pol等于NUMA policy for the VMA
1781  如果非polpol等于get_task_policy(当前进程)
1784  返回:See set_mempolicy() MPOL_F_* above 按位与his policy wants migrate on fault