Subject: Re: nesting simple_lock and spl*?
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 05/26/2002 19:58:06
On Sun, May 26, 2002 at 11:08:43AM -0700, Jason R Thorpe wrote:
> 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.

Good - that was a real pain!
> 
>  > Oh, will a netbsd splnet() ever enable interupts?
>  > (eg if called after splhi())
> 
> No, it's not supposed to.

good - but I think I saw a different Unix where it did :-(


	David

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