Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mpol_store_user_nodemask

Proto:static inline int mpol_store_user_nodemask(const struct mempolicy *pol)

Type:int

Parameter:

TypeParameterName
const struct mempolicy *pol
156  Return See set_mempolicy() MPOL_F_* above & MPOL_MODE_FLAGS is the union of all possible optional mode flags passed to* either set_mempolicy() or mbind().
Caller
NameDescribe
mpol_set_nodemaskmpol_set_nodemask is called after mpol_new() to set up the nodemask, if* any, for the new policy. mpol_new() has already validated the nodes* parameter with respect to the policy mode and flags. But, we need to
mpol_rebind_policympol_rebind_policy - Migrate a policy to a different set of nodes* Per-vma policies are protected by mmap_sem. Allocations using per-task* policies are protected by task->mems_allowed_seq to prevent a premature
do_get_mempolicyRetrieve NUMA policy
__mpol_equalSlow path of a mempolicy comparison