Subject: Re: VXLOCK race?
To: None <ws@kurt.tools.de>
From: David Seifert <seifert@sequent.com>
List: tech-kern
Date: 05/09/1996 15:46:47
In message <199605091913.VAA06311@kurt.tools.de>you write:
> > One thing which is worrying me is the following:
> 
> [ excerpts of code deleted ]
> 
> > as far as I can see this is all at spl0 - I'm probably missing something
> > important but this looks horribly like a potential race condition to me. Could
> > someone please explain to me why it isn't, or if it is, why it isn't important.
> > As far as I can see this could lead to junk being written via dangling
> > pointers.
> 
> You missed the fact that the kernel isn't preemptive. That is, the two code
> snippets you cited are never run intermixed.
> 
> Hope to make thinks clear.
> --
> ws@TooLs.DE     (Wolfgang Solfrank, TooLs GmbH) 	+49-228-985800

Are you assuming a single cpu machine?  Are there plans to support SMP
someday?

Dave Seifert
seifert@sequent.com