May 29, 2007
View ebc5ec7bd8

- added membar_depends(), needed on smp archs. with separate cache banks where it's possible to get a new pointer value, but the old pointer content (e.g. if the two are in different cache banks and the "content" bank is very busy processing a long invalidations queue). For now only Alpha SMP needs it, on all other archs is a no-op (for more info see atomic_ops.h ,, or Alpha Architecture Reference Manual Chapter 5.6.

Andrei Pelinescu-Onciul authored on 29/05/2007 11:31:29
May 11, 2007
View ccab6f017b

- atomic_add & atomic_cmpxchg added to ppc - atomic_unkown (used when the procesor does not suport atomic ops or is not among the supported ones), tries now to use a "hash" of locks if GEN_LOCK_SET_T_UNLIMITED is defined => less contention on multi-cpus - atomic_ops.h defines *_UNLIMITED macros when the number of locks or set size are limited only by the available memory (everything exept SYSV sems) - license changes: all the atomic* stuff and the locks are now under a BSD (OpenBSD) style license

Andrei Pelinescu-Onciul authored on 11/05/2007 20:44:15
April 3, 2006
View f146bed01f

- s/atomic_ops_destroy/destroy_atomic_ops - fixed membar w/ locks (should be unlock; lock) - added a separate lock for membar w/ locks (unkown arch).

Andrei Pelinescu-Onciul authored on 03/04/2006 13:32:53
March 30, 2006
View d307929c08

- makefile: - compile in 64bit mode by default on sparc64 - sparc <= v8 support - -CC_GCC_LIKE_ASM is defined when the compiler supports gcc style inline asm (gcc and icc)

Andrei Pelinescu-Onciul authored on 30/03/2006 19:56:06