cvs commit: src/sys/kern kern_rwlock.c

Attilio Rao attilio at freebsd.org
Wed Aug 4 13:19:21 UTC 2010


2010/8/4 Robert Watson <rwatson at freebsd.org>:
> 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.

Thanks for signaling this, I'll take care.

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein


More information about the cvs-all mailing list