Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6b34f014 authored by Will Deacon's avatar Will Deacon Committed by Michael Bohan
Browse files

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.

Change-Id: I2c891e8351f8b455a7f9fa398cb896ae1c4f0d70
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Git-commit: 5686b06cea34e31ec0a549d9b5ac00776e8e8d6d
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git


Signed-off-by: default avatarAbhimanyu Kapur <abhimany@codeaurora.org>
parent 80ec9152
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment