Subject: Re: newlock
To: Garrett D'Amore <garrett_damore@tadpole.com>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 09/04/2006 20:55:03
On Sun, Sep 03, 2006 at 07:31:55PM -0700, Garrett D'Amore wrote:
> 
> Wrong.  This works fine in Solaris.  The spin mutex doesn't
> automatically release the spl -- instead it releases a _reference_ on
> the spl.  The spl is only dropped when the reference reaches zero.

I've never seen that behaviour documented for Solaris...

OTOH the last solaris drivers I wrote were for 2.5 or 2.6.
I also remember it being an absolute pain that you couldn't mask interrupts
unless yoiu were in the driver that attached t hISR.

	David

-- 
David Laight: david@l8s.co.uk