08 Apr, 2006
1 commit
-
The parenthesis around "likely" used in ia64 __mutex_fastpath_trylock
is incorrect, and it leads to broken mutex_trylock. Here is the
patch that fixed the bug. I removed the likely altogether because
there is no branch and gcc does a reasonable job at predicating the
return value.Signed-off-by: Ken Chen
Signed-off-by: Tony Luck
27 Jan, 2006
1 commit
-
Implement ia64 optimized mutex primitives. It properly uses
acquire/release memory ordering semantics in lock/unlock path.
2nd version making them all static inline functions.Signed-off-by: Ken Chen
Signed-off-by: Tony Luck
10 Jan, 2006
1 commit
-
add the per-arch mutex.h files for the remaining architectures.
We default to asm-generic/mutex-dec.h, because that performs
quite well on most arches. Arches that do not have atomic
decrement/increment instructions should switch to mutex-xchg.h
instead. Arches can also provide their own implementation for
the mutex fastpath primitives.Signed-off-by: Arjan van de Ven
Signed-off-by: Ingo Molnar