Function report |
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 activity | Download SCCT | Chinese |
Name:native_stop_other_cpus
Proto:static void native_stop_other_cpus(int wait)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
int | wait |
153 | If reboot_force Then Return |
170 | If num_online_cpus() > 1 Then |
176 | wmb() |
186 | timeout = USEC_PER_SEC |
187 | When num_online_cpus() > 1 && timeout-- cycle |
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 |
216 | local_irq_save(flags) |
217 | disable_local_APIC() |
219 | local_irq_restore(flags) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |