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_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

Proto:int topology_update_package_map(unsigned int pkg, unsigned int cpu)

Type:int

Parameter:

TypeParameterName
unsigned intpkg
unsigned intcpu
333  new = pology_phys_to_logical_pkg - Map a physical package id to a logical* Returns logical package id or -1 if not found
334  If new >= 0 Then Go to found
337  new = logical_packages++
338  If new != pkg Then
339  pr_info("CPU %u Converting physical %u to logical package %u\n", cpu, pkg, new)
342  found :
343  logical_proc_id = new
344  Return 0
Caller
NameDescribe
smp_store_boot_cpu_info