Subject: Re: Atomic ops API
To: Jason Thorpe <thorpej@shagadelic.org>
From: Martin Husemann <martin@duskware.de>
List: tech-kern
Date: 03/13/2007 16:27:18
On Tue, Mar 13, 2007 at 08:14:32AM -0700, Jason Thorpe wrote:
> That's correct. And for that reason, I also need to document that
> these operations only work on regular memory, not device memory (which
> may have side-effects that makes the read-modify-write unsafe).
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)?
Martin