commit | ae564c63b8311fa73c21e456e00dba1f4b1ff6bc | [log] [tgz] |
---|---|---|
author | Nick Piggin <npiggin@suse.de> | Tue Nov 11 17:54:15 2008 +0000 |
committer | Paul Mackerras <paulus@samba.org> | Wed Nov 19 16:04:58 2008 +1100 |
tree | 743ed995f8718d465c8008a61755ea47feb73f6e | |
parent | 957ab07b44d839ee8267e827fc4e8f1853798f57 [diff] |
powerpc: Optimise mutex This implements an optimised mutex fastpath for powerpc, making use of acquire and release barrier semantics. This takes the mutex lock+unlock benchmark from 203 to 173 cycles on a G5. Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Paul Mackerras <paulus@samba.org>