Re: [PATCH 1/19] MUTEX: Introduce simple mutex implementation

From: Jakub Jelinek
Date: Wed Dec 14 2005 - 07:19:37 EST


On Wed, Dec 14, 2005 at 11:57:12AM +0000, David Howells wrote:
> (1) Those that only have a limited exchange functionality. Several archs do
> fall into this category: arm, frv, mn10300, 68000, i386.

sparc (32-bit CPUs) fall into this category too. V7 CPUs have just
atomic load byte and store 0xff, later CPUs have swap insn, which is like
ia32 xchg.

> (2) Those that have CMPXCHG or equivalent: 68020, i486+, x86_64, ia64, sparc.

sparc64 here.

> (3) Those that have LL/SC or equivalent: mips (some), alpha, powerpc, arm6.

Jakub
-
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/