Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
unsigned intphys_pkg
293  for_each_possible_cpu(cpu)
294  c = cpu_data(cpu)
296  If initialized && Physical processor id: == phys_pkg Then Return Logical processor id:
299  Return -1
Caller
NameDescribe
topology_update_package_mappology_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