Subject: Re: Atomic ops API
To: Jason Thorpe <thorpej@shagadelic.org>
From: Johnny Billquist <bqt@softjar.se>
List: tech-kern
Date: 03/16/2007 10:21:10
Jason Thorpe wrote:
> 
> Anyway, I've decided to stick with "cas" as "compare-and-store".

I just came up with another question, by the way.
What is the intended use for this function? Is it mostly for spinlocks?
If so, then I think we should try something else. For the VAX, 
implementing spinlocks is very easy, but they don't match the semantics 
of compare_and_swap or compare_and_store

	Johnny