函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mpol_rebind_preferred

函数原型:static void mpol_rebind_preferred(struct mempolicy *pol, const nodemask_t *nodes)

返回类型:void

参数:

类型参数名称
struct mempolicy *pol
const nodemask_t *nodes
323  如果See set_mempolicy() MPOL_F_* above 按位与Flags for set_mempolicy
324  node等于FIXME: better would be to fix all architectures to never return> MAX_NUMNODES, then the silly min_ts could be dropped. ( nodemask passed by user )
327  preferred 等于node
329  否则See set_mempolicy() MPOL_F_* above 或等于preferred local allocation
331  否则如果See set_mempolicy() MPOL_F_* above 按位与MPOL_F_RELATIVE_NODES
332  mpol_relative_nodemask( & tmp, & nodemask passed by user , nodes)
333  preferred 等于FIXME: better would be to fix all architectures to never return> MAX_NUMNODES, then the silly min_ts could be dropped. (tmp)
334  否则如果非See set_mempolicy() MPOL_F_* above 按位与preferred local allocation 的值则
335  preferred 等于node_remap( preferred , relative to these nodes , * nodes)
338  relative to these nodes 等于nodes