Re: [PATCH 1/19] MUTEX: Introduce simple mutex implementation
From: Jakub Jelinek <hidden>
Date: 2005-12-14 12:20:16
Also in:
lkml
From: Jakub Jelinek <hidden>
Date: 2005-12-14 12:20:16
Also in:
lkml
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