函数逻辑报告

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

函数名称:free_sched_domains

函数原型:void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms)

返回类型:void

参数:

类型参数名称
cpumask_var_tdoms
unsigned intndoms
2128 i小于ndoms循环释放CPU掩码
2130  释放内存
调用者
名称描述
alloc_sched_domains
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.