函数逻辑报告 |
Source Code:kernel\sched\topology.c |
Create Date:2022-07-27 10:42:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Build the balance mask; it contains only those CPUs that can arrive at this* group and should be considered to continue balancing
函数原型:static void build_balance_mask(struct sched_domain *sd, struct sched_group *sg, struct cpumask *mask)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct sched_domain * | sd | |
| struct sched_group * | sg | |
| struct cpumask * | mask |
| 842 | sg_span等于sched_group_span(sg) |
| 847 | 清空全部CPU信息 |
| 850 | sibling等于per_cpu_ptr(sd, i) |
| 857 | 如果非child则继续下一循环 |
| 864 | 设置CPU信息 |
| 868 | WARN_ON_ONCE(pumask_empty - *srcp == 0*@srcp: the cpumask to that all cpus < nr_cpu_ids are clear.) |
| 名称 | 描述 |
|---|---|
| init_overlap_sched_group |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |