Subject: Re: Atomic ops API
To: Ignatios Souvatzis <is@netbsd.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 03/13/2007 09:31:05
On Mar 13, 2007, at 8:43 AM, Ignatios Souvatzis wrote:

> There's another problem on Amiga, though. Officially, Amiga machines  
> aren't
> expected to run the bus cycles to implement CAS correctly. I suspect  
> that's
> a very-low-end-machine problem (read: real chip mem) only, and that  
> cached
> memory would be ok. Will have to check that.

Well, that problem exists with kmutex_t today.  In any case, there is  
a RAS-based _lock_cas() for mc68010 now, and Amiga could certainly use  
that if it were so inclined (although the way it is enabled would have  
to change).

-- thorpej