函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:init_x2apic_ldr

函数原型:static void init_x2apic_ldr(void)

返回类型:void

参数:

100  cmsk等于Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(cluster_masks)
101  apicid等于apic_read(APIC_LDR)
104  抢占保护下的写CPU(x86_cpu_to_logical_apicid, apicid)
106  如果cmsk则转到:update
109  cluster等于apicid右移16位
110  遍历在线CPU(cpu)
111  cmsk等于per_cpu(cluster_masks, cpu)
113  如果cmskclusterid恒等于cluster则转到:update
116  cmsk等于cluster_hotplug_mask
117  clusterid等于cluster
118  cluster_hotplug_mask = NULL
119  update :
120  抢占保护下的写CPU(cluster_masks, cmsk)
121  设置CPU信息
调用者
名称描述
x2apic_cluster_probe