lkml.org 
[lkml]   [2006]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Why Semaphore Hardware-Dependent?
On Tue, Aug 29, 2006 at 08:56:36AM -0700, Christoph Lameter wrote:

> > Because i386 (and x86_64) can do better by using XADDL/XADDQ.
>
> And Ia64 would like to use fetchadd....
>
> > CMPXCHG is not available on all archs, and may not be implemented on all archs
> > through other atomic instructions.
>
> Which arches do not support cmpxchg?

MIPS, Alpha - probably any pure RISC load/store architecture.

Ralf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-29 18:23    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site