Alfred Perlstein writes: > > We need to somehow let only interrupt threads and the panic'ed process > > run after a panic. I have no idea how to do this in a clean, > > low-impact way. > > > > Drew > > > > PS: I was trying to make crashdumps fail on x86 by increasing HZ. But > > I cannot. I have no idea why this only happens on alpha. > > um, psuedocode... > > for ithreads, td->td_flags |= TD_ITHREAD > for panicing thread, td->td_flags |= TD_INPANIC > > if ((cold || panicstr) && (td->td_flags & (TD_ITHREAD|TD_INPANIC)) != 0) { >
I have no idea what's planned for td_flags. Is stealing 2 values for this use acceptable? I didn't consider touching the flags to be lightweight.. If so, I was thinking more like #define TDF_PANICSCHED 0x000002 /* may be scheduled during/after a panic */ Drew To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message