tech-kern archive

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

Re: uvm locking inconsistency

On Wed, Jun 15, 2011 at 08:02:12PM +0200, Matthias Drochner wrote:
> A fresh kernel panics for me with a KASSERT about a lock
> not held - see attachment.
> uvm_pgalloc() was called from amap_cow_now() -- the anon is
> freshly allocated, so the reason for the panic is obvious.
> (and it seems better to relax the check than to acquire the
> lock for no good reason)
> Am I the only one using DIAGNOSTIC kernels?

I fear so, sadly. I think DIAGNOSTIC should be back in x86 GENERIC
kernels on HEAD (this can be switched off in release branches)

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index