Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\x2apic_cluster.c Create Date:2022-07-28 08:35:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:init_x2apic_ldr

Proto:static void init_x2apic_ldr(void)

Type:void

Parameter:Nothing

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  this_cpu_write(x86_cpu_to_logical_apicid, apicid)
106  If cmsk Then Go to update
109  cluster = apicid >> 16
110  for_each_online_cpu(cpu)
111  cmsk = per_cpu(cluster_masks, cpu)
113  If cmsk && clusterid == cluster Then Go to update
116  cmsk = cluster_hotplug_mask
117  clusterid = cluster
118  cluster_hotplug_mask = NULL
119  update :
120  this_cpu_write(cluster_masks, cmsk)
121  pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer
Caller
NameDescribe
x2apic_cluster_probe