Page MenuHomeFreeBSD

D2250.diff
No OneTemporary

D2250.diff

Index: sys/amd64/amd64/mp_machdep.c
===================================================================
--- sys/amd64/amd64/mp_machdep.c
+++ sys/amd64/amd64/mp_machdep.c
@@ -1456,8 +1456,13 @@
CPU_SET_ATOMIC(cpu, &stopped_cpus);
/* Wait for restart */
- while (!CPU_ISSET(cpu, &started_cpus))
- ia32_pause();
+ while (!CPU_ISSET(cpu, &started_cpus)) {
+ ia32_pause();
+
+ /* If we paniced, just stop this CPU. */
+ while (panicstr)
+ halt();
+ }
CPU_CLR_ATOMIC(cpu, &started_cpus);
CPU_CLR_ATOMIC(cpu, &stopped_cpus);

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 25, 10:32 PM (5 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30349485
Default Alt Text
D2250.diff (539 B)

Event Timeline