函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:alloc_sched_domains

函数原型:cpumask_var_t *alloc_sched_domains(unsigned int ndoms)

返回类型:cpumask_var_t

参数:

类型参数名称
unsigned intndoms
2113  doms等于分配数组内存
2114  如果非doms则返回:NULL
2116 i小于ndoms循环
2117  如果非分配CPU掩码
2119  返回:NULL
2122  返回:doms
调用者
名称描述
sched_init_domainsSet up scheduler domains and groups. For now this just excludes isolated* CPUs, but could be used to exclude other special cases in the future.
partition_sched_domains_lockedPartition sched domains as specified by the 'ndoms_new'* cpumasks in the array doms_new[] of cpumasks. This compares* doms_new[] to the current sched domain partitioning, doms_cur[].* It destroys each deleted domain and builds each new domain.