Subject: Re: Atomic ops API
To: Ben Harris <bjh21@NetBSD.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 03/13/2007 10:05:21
On Mar 13, 2007, at 9:36 AM, Ben Harris wrote:

> In article <F16DC85F-0EF6-4EB1-A868-7212DC4D80B2@shagadelic.org> you  
> write:
>> I would like to propose the following as NetBSD's API for atomic
>> operations, both in user-space and the kernel.
>
> Am I right in thinking that on dull uniprocessor systems (say, most
> ARMs), the userland versions would be implemented by a bunch of RASes?

A single CAS RAS.  On many platforms, in fact, most operations will be  
built on top of CAS.

-- thorpej