Re: MTX_DEF versus MTX_SPIN

From: Andriy Gapon <avg_at_icyb.net.ua>
Date: Wed, 03 Nov 2010 19:23:47 +0200
on 03/11/2010 19:11 Kostik Belousov said the following:
> On Wed, Nov 03, 2010 at 10:04:13AM -0700, mdf_at_freebsd.org wrote:
>> Is there any documentation on best practices for writing a FreeBSD driver?
> Not that I am aware of. You can read locking(9) in HEAD to get the answer
> on your question about spin mutexes.

BTW, I think that BUS_SETUP_INTR(9) contains the most up to date information on
interrupt handling piece of a driver.  Unlike e.g. ithread(9).

-- 
Andriy Gapon
Received on Wed Nov 03 2010 - 16:23:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:08 UTC