On 23-Nov-00 Nicolas Souchu wrote:
> On Wed, Nov 22, 2000 at 04:58:32PM -0800, Archie Cobbs wrote:
>> As a relatively simple exercise in -current kernel programming,
>> I'm planning to mutex'ify the ichsmb(4) device driver (this is
>> a relatively simple driver that currently uses splhigh()). I'd
>> appreciate some feedback if what I'm doing is the right thing.
> 
> What are kernel mutex? A new mechanism for spl replacement? Is it
> introduced with the new SMP? I found nothing in the mail archives...

Yes, they are used to replace spl()'s.  You can read the mutex(9) manpage in
-current for details about how the mutexes work.  Hopefully before too long I
will be adding some stuff to the developer's handbook to explain how to use the
mutexes in the kernel.

-- 

John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to