函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:match_smt

函数原型:static bool match_smt(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o)

返回类型:bool

参数:

类型参数名称
struct cpuinfo_x86 *c
struct cpuinfo_x86 *o
429  如果boot_cpu_has(Topology extensions CPUID leafs )则
430  cpu1等于Index into per_cpu list: , cpu2等于Index into per_cpu list:
435  如果Core id: 恒等于Core id: 则返回:topology_sane(c, o, "smt")
438  如果cu_id不等于0xff且cu_id不等于0xff且cu_id恒等于cu_id则返回:topology_sane(c, o, "smt")
444  否则如果Physical processor id: 恒等于Physical processor id: cpu_die_id恒等于cpu_die_idCore id: 恒等于Core id:
447  返回:topology_sane(c, o, "smt")
450  返回:false
调用者
名称描述
set_cpu_sibling_map