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:21
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_die - Map a physical die id to logical* Returns logical die id or -1 if not found

Proto:int topology_phys_to_logical_die(unsigned int die_id, unsigned int cur_cpu)

Type:int

Parameter:

TypeParameterName
unsigned intdie_id
unsigned intcur_cpu
310  proc_id = phys_proc_id
312  for_each_possible_cpu(cpu)
313  c = cpu_data(cpu)
315  If initialized && cpu_die_id == die_id && Physical processor id: == proc_id Then Return logical_die_id
319  Return -1
Caller
NameDescribe
topology_update_die_mappology_update_die_map - Update the physical to logical die map*@die: The die id as retrieved via CPUID*@cpu: The cpu for which this is updated