函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cpuset.c Create Date:2022-07-27 12:20:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:puset_init_smp - initialize cpus_allowed* Description: Finish top cpuset after cpu, node maps are initialized

函数原型:void __init cpuset_init_smp(void)

返回类型:void

参数:

3249  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
3250  mems_allowed等于The following particular system nodemasks and operations* on them manage all possible and online nodes.[N_MEMORY]
3251  * This is old Memory Nodes tasks took on. * - top_cpuset.old_mems_allowed is initialized to mems_allowed. * - A new cpuset's old_mems_allowed is initialized when some * task is moved into it. * - old_mems_allowed is used in cpuset_migrate_mm() when we chan等于mems_allowed
3253  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
3254  effective_mems等于The following particular system nodemasks and operations* on them manage all possible and online nodes.[N_MEMORY]
3256  register_hotmemory_notifier( & cpuset_track_online_nodes_nb)
3258  cpuset_migrate_mm_wq等于alloc_ordered_workqueue - allocate an ordered workqueue*@fmt: printf format for the name of the workqueue*@flags: WQ_* flags (only WQ_FREEZABLE and WQ_MEM_RECLAIM are meaningful)*@args...: args for @fmt* Allocate an ordered workqueue("cpuset_migrate_mm", 0)
3259  BUG_ON(!cpuset_migrate_mm_wq)