Function report |
Source Code:arch\x86\kernel\smpboot.c |
Create Date:2022-07-28 08:24:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pology_phys_to_logical_pkg - Map a physical package id to a logical* Returns logical package id or -1 if not found
Proto:int topology_phys_to_logical_pkg(unsigned int phys_pkg)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | phys_pkg |
| 293 | for_each_possible_cpu(cpu) |
| 296 | If initialized && Physical processor id: == phys_pkg Then Return Logical processor id: |
| 299 | Return -1 |
| Name | Describe |
|---|---|
| topology_update_package_map | pology_update_package_map - Update the physical to logical package map*@pkg: The physical package id as retrieved via CPUID*@cpu: The cpu for which this is updated |
| 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 |