Subject: Re: nesting simple_lock and spl*?
To: David Laight <david@l8s.co.uk>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 05/26/2002 11:08:43
On Sun, May 26, 2002 at 07:05:04PM +0100, David Laight wrote:
> The bummer with solaris locks/mutex was that you couldn't create
> one that would disable interrupts unless you were a hardware
> driver and had already attached the interrupt (otherwise you
> didn't have the right cookie) - rather problematical...
My mutex implementation does not have that problem.
> Oh, will a netbsd splnet() ever enable interupts?
> (eg if called after splhi())
No, it's not supposed to.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>