函数逻辑报告 |
Source Code:arch\x86\kernel\smpboot.c |
Create Date:2022-07-27 09:24:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:set_cpu_sibling_map
函数原型:void set_cpu_sibling_map(int cpu)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
int | cpu |
568 | has_mp等于has_smt或x86_max_cores大于1 |
573 | 设置CPU信息 |
575 | 如果非has_mp则 |
576 | 设置CPU信息 |
577 | 设置CPU信息 |
578 | 设置CPU信息 |
579 | 设置CPU信息 |
581 | 返回 |
633 | threads等于pumask_weight - Count of bits in *srcp*@srcp: the cpumask to count bits (< nr_cpu_ids) in. |
634 | 如果threads大于Maximum number of SMT threads on any online core 则Maximum number of SMT threads on any online core 等于threads |
名称 | 描述 |
---|---|
smp_callin | Report back to the Boot Processor during boot time or to the caller processor* during CPU online. |
native_smp_prepare_cpus | Prepare for SMP bootup.*@max_cpus: configured maximum number of CPUs, It is a legacy parameter* for common interface support. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |