函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:puset_init - initialize cpusets at system boot* Description: Initialize top_cpuset

函数原型:int __init cpuset_init(void)

返回类型:int

参数:

2892  BUG_ON(percpu_init_rwsem( & cpuset_rwsem))
2894  BUG_ON(!分配CPU掩码)
2895  BUG_ON(!分配CPU掩码)
2896  BUG_ON(!zalloc_cpumask_var( & * CPUs allocated to child sub-partitions (default hierarchy only) * - CPUs granted by the parent = effective_cpus U subparts_cpus * - effective_cpus and subparts_cpus are mutually exclusive. * effective_cpus contains only onlined CPUs, but subparts_cpus * , GFP_KERNEL))
2898  设置全部CPU信息
2899  nodes_setall(mems_allowed)
2900  设置全部CPU信息
2901  nodes_setall(effective_mems)
2903  Initialize a frequency meter
2904  设置内存位
2905  for custom sched domain 等于负1
2907  BUG_ON(!分配CPU掩码)
2909  返回:0