Function report |
Source Code:arch\x86\kernel\setup_percpu.c |
Create Date:2022-07-28 08:25:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:setup_per_cpu_areas
Proto:void __init setup_per_cpu_areas(void)
Type:void
Parameter:Nothing
174 | pr_info("NR_CPUS:%d nr_cpumask_bits:%d nr_cpu_ids:%u nr_node_ids:%u\n", Places which use this should consider cpumask_var_t. , nr_cpumask_bits, nr_cpu_ids, nr_node_ids) |
188 | If pcpu_chosen_fc != PCPU_FC_PAGE Then |
209 | If rc < 0 Then pr_warn("%s allocator failed (%d), falling back to page size\n", pcpu_fc_names[pcpu_chosen_fc], rc) |
217 | If rc < 0 Then panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
221 | delta = pcpu_base_addr - __per_cpu_start |
222 | for_each_possible_cpu(cpu) |
223 | per_cpu_offset(cpu) = delta + pcpu_unit_offsets[cpu] |
224 | per_cpu(this_cpu_off, cpu) = per_cpu_offset(cpu) |
225 | per_cpu(cpu_number, cpu) = cpu |
226 | setup_percpu_segment(cpu) |
275 | early_per_cpu_ptr(x86_cpu_to_logical_apicid) = NULL |
297 | sync_initial_page_table() |
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 |