On 20/01/17(Fri) 17:16, Alexander Bluhm wrote:
> > --- sys/kern/kern_rwlock.c
> > +++ sys/kern/kern_rwlock.c
> > @@ -195,6 +195,9 @@ retry:
> >             unsigned long set = o | op->wait_set;
> >             int do_sleep;
> >  
> > +           if (panicstr)
> > +                   return (0);
> > +
> >             rw_enter_diag(rwl, flags);
> >  
> >             if (flags & RW_NOSLEEP)
> 
> I guess this is against the problem that ddb reboot does not work
> anymore.  Could you also check for the variable "db_is_active"
> there?  After kernel uvm faults or ddb console hotkey you still
> cannot reboot from ddb as they do not panic.

I'll leave that for latter, it's more complex that it looks like.

Reply via email to