In the current code, a double panic condition may lead to dumps
interleaving. Signal dumping to happen only for the first panic which should be the most important. Sponsored by: Sandvine Incorporated Submitted by: Nima Misaghian (nmisaghian AT sandvine DOT com) MFC after: 2 weeks
This commit is contained in:
parent
75aa1914d5
commit
e3adb68519
@ -555,11 +555,12 @@ panic(const char *fmt, ...)
|
||||
; /* nothing */
|
||||
#endif
|
||||
|
||||
bootopt = RB_AUTOBOOT | RB_DUMP;
|
||||
bootopt = RB_AUTOBOOT;
|
||||
newpanic = 0;
|
||||
if (panicstr)
|
||||
bootopt |= RB_NOSYNC;
|
||||
else {
|
||||
bootopt |= RB_DUMP;
|
||||
panicstr = fmt;
|
||||
newpanic = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user