Function report |
Source Code:arch\x86\kernel\apic\apic.c |
Create Date:2022-07-28 08:27:21 |
| Last Modify:2020-03-16 21:21:31 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Should use this API to allocate logical CPU IDs to keep nr_logical_cpuids* and cpuid_to_apicid[] synchronized.
Proto:static int allocate_logical_cpuid(int apicid)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | apicid |
| 2380 | If Used to store mapping between logical CPU IDs and APIC IDs.[i] == apicid Then Return i |
| 2386 | WARN_ONCE(1, "APIC: NR_CPUS/possible_cpus limit of %u reached. Processor %d/0x%x and the rest are ignored.\n", nr_cpu_ids, The number of allocated logical CPU IDs. Since logical CPU IDs are allocated* contiguously, it equals to current allocated max logical CPU ID plus 1.* All allocated CPU IDs should be in the [0, nr_logical_cpuids) range,, apicid) |
| 2389 | Return -EINVAL |
| Name | Describe |
|---|---|
| generic_processor_info |
| 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 |