Subject: Re: Atomic operations for NetBSD
To: Tonnerre <tonnerre@thundrix.ch>
From: Martin Husemann <martin@duskware.de>
List: tech-kern
Date: 06/11/2005 08:36:20
On Sat, Jun 11, 2005 at 01:58:38AM +0200, Tonnerre wrote:
> The generic way for
> architectures that don't support to execute those functions in an atomic
> fashion would be to lock, execute the functions, and unlock.
Or use RAS on UP (if the architecture supports it)?
If we need to use locks, the lock would be hidden inside the MD definition
of atomic_t, I suppose?
Martin