commit | 5686b06cea34e31ec0a549d9b5ac00776e8e8d6d | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Wed Oct 09 15:54:27 2013 +0100 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Thu Oct 24 15:46:34 2013 +0100 |
tree | 69f5fa9d9ccc89232bea8c1e1337a4217751ba3d | |
parent | 52ea2a560a9dba57fe5fd6b4726b1089751accf2 [diff] |
arm64: lockref: add support for lockless lockrefs using cmpxchg Our spinlocks are only 32-bit (2x16-bit tickets) and our cmpxchg can deal with 8-bytes (as one would hope!). This patch wires up the cmpxchg-based lockless lockref implementation for arm64. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>