函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Return nodemask for policy for get_mempolicy() query* Called with task's alloc_lock held

函数原型:static void get_policy_nodemask(struct mempolicy *p, nodemask_t *nodes)

返回类型:void

参数:

类型参数名称
struct mempolicy *p
nodemask_t *nodes
849  nodes_clear( * nodes)
850  如果p恒等于un-time system-wide default policy => local allocation则返回
854  :See MPOL_* above 恒等于MPOL_BIND
856  :See MPOL_* above 恒等于MPOL_INTERLEAVE
857  nodes等于 interleave/bind
858  退出
859  :See MPOL_* above 恒等于MPOL_PREFERRED
860  如果非See set_mempolicy() MPOL_F_* above 按位与preferred local allocation 的值则The inline keyword gives the compiler room to decide to inline, or* not inline a function as it sees best( preferred , * nodes)
863  退出
864  默认
865  BUG()
调用者
名称描述
do_get_mempolicyRetrieve NUMA policy