Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cpuset.c Create Date:2022-07-28 11:16:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Return in *pmask the portion of a cpusets's mems_allowed that* are online, with memory

Proto:static void guarantee_online_mems(struct cpuset *cs, nodemask_t *pmask)

Type:void

Parameter:

TypeParameterName
struct cpuset *cs
nodemask_t *pmask
412  When Not nodes_intersects(effective_mems, The following particular system nodemasks and operations* on them manage all possible and online nodes.[N_MEMORY]) cycle
413  cs = parent_cs(cs)
414  nodes_and( * pmask, effective_mems, The following particular system nodemasks and operations* on them manage all possible and online nodes.[N_MEMORY])
Caller
NameDescribe
update_tasks_nodemaskpdate_tasks_nodemask - Update the nodemasks of tasks in the cpuset.*@cs: the cpuset in which each task's mems_allowed mask needs to be changed* Iterate through each task of @cs updating its mems_allowed to the* effective cpuset's
cpuset_attach
cpuset_mems_allowedpuset_mems_allowed - return mems_allowed mask from a tasks cpuset.*@tsk: pointer to task_struct from which to obtain cpuset->mems_allowed.* Description: Returns the nodemask_t mems_allowed of the cpuset* attached to the specified @tsk