cvs commit: src/sys/kern kern_alq.c

Sam Leffler sam at errno.com
Tue Mar 6 03:48:19 UTC 2007


Jeff Roberson wrote:
> The ALQ lock is a spinlock.  I don't believe this works.  Do I
> misunderstand something?
> 
> On Sun, 4 Mar 2007, Wojciech A. Koszek wrote:
> 
>> wkoszek     2007-03-04 23:40:36 UTC
>>
>>  FreeBSD src repository
>>
>>  Modified files:
>>    sys/kern             kern_alq.c
>>  Log:
>>  Use msleep(9) instead of tsleep(9) surrounded by lock acquisition and
>>  release.
>>
>>  Approved by:    cognet (mentor)
>>
>>  Revision  Changes    Path
>>  1.17      +2 -6      src/sys/kern/kern_alq.c
>>
> 
> 

Yeah, this is totally busted and could never been tested.

	Sam



More information about the cvs-src mailing list