Subject: Re: Atomic ops API
To: Martin Husemann <martin@duskware.de>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 03/13/2007 08:36:39
On Mar 13, 2007, at 8:27 AM, Martin Husemann wrote:

> Maybe add a note that everything besides the cas operations might be
> a lot more expensive than i386-minded people might assume (naively
> ignoring the runtime costs at the hardware bus level)?

Well, I don't really want to do that... I think the most common use of  
this API will actually be atomic_add_*() and atomic_{inc,dec}_*(), and  
I don't want to discourage people from adopting those APIs in their  
code.

-- thorpej