Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:puset_init_smp - initialize cpus_allowed* Description: Finish top cpuset after cpu, node maps are initialized

Proto:void __init cpuset_init_smp(void)

Type:void

Parameter:Nothing

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)