Function report |
Source Code:arch\x86\kernel\smpboot.c |
Create Date:2022-07-28 08:24:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:set_cpu_sibling_map
Proto:void set_cpu_sibling_map(int cpu)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
int | cpu |
567 | has_smt = Number of siblings per CPU package > 1 |
568 | has_mp = has_smt || x86_max_cores > 1 |
573 | pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer |
575 | If Not has_mp Then |
576 | pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer |
577 | pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer |
578 | pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer |
579 | pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer |
581 | Return |
603 | link_mask(topology_core_cpumask, cpu, i) |
614 | If Uniprocessor. Assume all masks are "1". == i Then umber of cores as seen by the OS: ++ |
621 | If i != cpu Then booted_cores++ |
623 | Else if i != cpu && Not umber of cores as seen by the OS: Then umber of cores as seen by the OS: = booted_cores |
633 | threads = pumask_weight - Count of bits in *srcp*@srcp: the cpumask to count bits (< nr_cpu_ids) in. |
634 | If threads > Maximum number of SMT threads on any online core Then Maximum number of SMT threads on any online core = threads |
Name | Describe |
---|---|
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. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |