Re: cvs commit: src/sys/conf files options src/sys/kern kern_rwlock.c subr_lock.c src/sys/sys lock.h rwlock.h

From: Peter Jeremy <>
Date: Sun, 29 Jan 2006 01:14:45 +1100
On Fri, 2006-Jan-27 23:13:26 +0000, John Baldwin wrote:
>  Log:
>  Add a basic reader/writer lock implementation to the kernel.

Thank you.  This looks interesting.

>  Tested on:      i386 (4 cpu box with a kernel module that used 4 threads
>                  that randomly chose between read locks and write locks
>                  that ran w/o panicing for over a day solid.  It usually
>                  panic'd within a few seconds when there were bugs during
>                  testing. :)  The kernel module source is available on
>                  request.)

Can I suggest that this module be committed into tools/regression or
similar so that it is generally available.

Peter Jeremy
Received on Sat Jan 28 2006 - 14:14:48 UTC