Function report |
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 activity | Download SCCT | Chinese |
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:
| Type | Parameter | Name |
|---|---|---|
| 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 |
| 414 | nodes_and( * pmask, effective_mems, The following particular system nodemasks and operations* on them manage all possible and online nodes.[N_MEMORY]) |
| Name | Describe |
|---|---|
| update_tasks_nodemask | pdate_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_allowed | puset_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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |