函数逻辑报告 | 
Source Code:kernel\sched\topology.c | 
Create Date:2022-07-27 10:43:34 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Partition 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.
函数原型:void partition_sched_domains_locked(int ndoms_new, cpumask_var_t doms_new[], struct sched_domain_attr *dattr_new)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| int | ndoms_new | |
| cpumask_var_t | doms_new | |
| struct sched_domain_attr * | dattr_new | 
| 2221 | __maybe_unused等于has_eas | 
| 2231 | new_topology等于arch_update_cpu_topology lets virtualized architectures update the* CPU core maps. It is supposed to return 1 if the topology changed* or 0 if it stayed the same. | 
| 2233 | 如果非doms_new则 | 
| 2242 | 否则 | 
| 2248 | 以j小于n且非new_topology循环 | 
| 2266 | match1 : | 
| 2271 | 如果非doms_new则 | 
| 2272 | n等于0 | 
| 2280 | 以j小于n且非new_topology循环 | 
| 2286 | Build sched domains for a given set of CPUs and attach the sched domains* to the individual CPUs | 
| 2287 | match2 : | 
| 2313 | 释放内存 | 
| 2314 | Current sched domains: 等于doms_new | 
| 2318 | register_sched_domain_sysctl() | 
| 名称 | 描述 | 
|---|---|
| partition_sched_domains | Call with hotplug lock held | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |