Re: Why Semaphore Hardware-Dependent?
From: Christoph Lameter
Date: Tue Aug 29 2006 - 11:54:20 EST
On Tue, 29 Aug 2006, David Howells 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?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/