函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\smpboot.c Create Date:2022-07-27 09:24:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:int topology_update_package_map(unsigned int pkg, unsigned int cpu)

返回类型:int

参数:

类型参数名称
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  如果new大于等于0则转到:found
337  new等于logical_packages自加
338  如果new不等于pkg
339  打印信息("CPU %u Converting physical %u to logical package %u\n", cpu, pkg, new)
342  found :
343  logical_proc_id等于new
344  返回:0
调用者
名称描述
smp_store_boot_cpu_info