Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lockdebug panic on boot



Andrew Doran <ad%NetBSD.org@localhost> wrote:
> > > ...
> > > 
> > > 'last locked' points to sys/kern/subr_autoconf.c:1115
> > > 
> > 
> > config_makeroom() is broken, as it performs kmem_free() with spin-lock
> > held.  Moreover, config_alldevs_lock() is still entering splhigh(), ??
> > Hi dyoung@! :)
> 
> I said it before but I don't see why there is any legitimate reason to
> go scanning this stuff from a hard interrupt handler, particularly not
> one at IPL_HIGH!
> 

Fully agree.  And it generally needs more clean-up on locking.

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index