Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:native_stop_other_cpus

Proto:static void native_stop_other_cpus(int wait)

Type:void

Parameter:

TypeParameterName
intwait
153  If reboot_force Then Return
170  If num_online_cpus() > 1 Then
172  If atomic_cmpxchg( & Some notes on x86 processor bugs affecting SMP operation:* Pentium, Pentium Pro, II, III (and all CPUs) have bugs.* The Linux implications for SMP are handled as follows:* Pentium III / [Xeon]* None of the E1AP-E3AP errata are visible to the user.* E1AP, - 1, safe_smp_processor_id()) != -1 Then Return
176  wmb()
178  apic_send_IPI_allbutself(REBOOT_VECTOR)
186  timeout = USEC_PER_SEC
187  When num_online_cpus() > 1 && timeout-- cycle
188  0x10c7 is 2**32 / 1000000 (rounded up) (1)
192  If num_online_cpus() > 1 Then
198  If Not smp_no_nmi_ipi && Not register_stop_handler() Then
200  wmb()
211  timeout = USEC_PER_MSEC * 10
212  When num_online_cpus() > 1 && (wait || timeout--) cycle
213  0x10c7 is 2**32 / 1000000 (rounded up) (1)
216  local_irq_save(flags)
217  disable_local_APIC()
218  Called for each booted CPU to clear some machine checks opt-ins
219  local_irq_restore(flags)