Source-Changes-D archive

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

re: CVS commit: src/sys/kern

> > Modified Files:
> >     src/sys/kern: subr_pool.c
> > 
> > Log Message:
> > In pool_cache_put_slow(), pool_get() can block (it does mutex_enter()),
> > so we need to retry if curlwp took a context switch during the call.
> I didn't think mutex_enter() blocked - isn't it a spinlock.
> Which means that if things are going wrong they can go wrong
> even if the mutex is available immediately.

netbsd kernel mutexes can be either, but this one is a spinlock yeah.


Home | Main Index | Thread Index | Old Index