Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2003 16:19:18 -0500
From:      "Alan L. Cox" <alc@imimic.com>
To:        Jeff Roberson <jeff@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_umtx.c
Message-ID:  <3ED13356.652D9C44@imimic.com>
References:  <200305251818.h4PIIW5j096155@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeff Roberson wrote:
> 
> jeff        2003/05/25 11:18:32 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             kern_umtx.c
>   Log:
>    - Create a new lock, umtx_lock, for use instead of the proc lock for
>      protecting the umtx queues.  We can't use the proc lock because we need
>      to hold the lock across calls to casuptr, which can fault.
> 
>   Approved by:    re
> 
>   Revision  Changes    Path
>   1.3       +13 -6     src/sys/kern/kern_umtx.c

In general, we can sleep on a fault.  Thus, you could be holding this
mutex at the time of a sleep.

Alan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ED13356.652D9C44>