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:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:match_smt

Proto:static bool match_smt(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o)

Type:bool

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
struct cpuinfo_x86 *o
429  If boot_cpu_has(Topology extensions CPUID leafs ) Then
430  cpu1 = Index into per_cpu list: , cpu2 = Index into per_cpu list:
435  If Core id: == Core id: Then Return topology_sane(c, o, "smt")
438  If cu_id != 0xff && cu_id != 0xff && cu_id == cu_id Then Return topology_sane(c, o, "smt")
444  Else if Physical processor id: == Physical processor id: && cpu_die_id == cpu_die_id && Core id: == Core id: Then
447  Return topology_sane(c, o, "smt")
450  Return false
Caller
NameDescribe
set_cpu_sibling_map