cvs commit: src/sys/kern kern_rwlock.c

Robert Watson rwatson at
Tue Aug 3 22:51:51 UTC 2010

On Wed, 14 Nov 2007, Attilio Rao wrote:

> attilio     2007-11-14 21:21:48 UTC
>  FreeBSD src repository
>  Modified files:
>    sys/kern             kern_rwlock.c
>  Log:
>  Remove a bogus KASSERT which will prevent rwlock to be acquired
>  recursively in exclusive mode with debugging kernels.
>  Submitted by: kmacy
>  Approved by: jeff
>  Revision  Changes    Path
>  1.30      +0 -3      src/sys/kern/kern_rwlock.c

Hi Attilio--

This bug seems also to affect the 6.x backport of rwlocks that Alfred did. 
Might either you or Alfred consider doing an MFC of this change?  Without it, 
recursive write locks on rwlocks are broken with INVARIANTS enabled.



More information about the cvs-src mailing list