Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/kern
On Mon, Mar 11, 2013 at 09:37:54PM +0000, Antti Kantee wrote:
> Module Name: src
> Committed By: pooka
> Date: Mon Mar 11 21:37:54 UTC 2013
>
> 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.
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index