Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mpol_rebind_preferred

Proto:static void mpol_rebind_preferred(struct mempolicy *pol, const nodemask_t *nodes)

Type:void

Parameter:

TypeParameterName
struct mempolicy *pol
const nodemask_t *nodes
323  If See set_mempolicy() MPOL_F_* above & Flags for set_mempolicy Then
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 )
329  Else See set_mempolicy() MPOL_F_* above |= preferred local allocation
331  Else if See set_mempolicy() MPOL_F_* above & MPOL_F_RELATIVE_NODES Then
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  Else if Not (See set_mempolicy() MPOL_F_* above & preferred local allocation ) Then
335  preferred = node_remap( preferred , relative to these nodes , * nodes)
338  relative to these nodes = nodes