summaryrefslogtreecommitdiff
path: root/include/asm-generic/bitops/ext2-atomic.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2018-06-19 15:53:12 +0300
committerIngo Molnar <mingo@kernel.org>2018-06-21 13:52:12 +0300
commit84c6591103dbeaf393a092a3fc7b09510825f6b9 (patch)
treea5c66f057f1ba7db4c9a4725b5827f40206f6d86 /include/asm-generic/bitops/ext2-atomic.h
parente986a0d6cb36b54838b2f5f8ac2bb5f9baadd977 (diff)
downloadlinux-84c6591103dbeaf393a092a3fc7b09510825f6b9.tar.xz
locking/atomics, asm-generic/bitops/lock.h: Rewrite using atomic_fetch_*()
The lock bitops can be implemented more efficiently using the atomic_fetch_*() ops, which provide finer-grained control over the memory ordering semantics than the bitops. Signed-off-by: Will Deacon <will.deacon@arm.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-arm-kernel@lists.infradead.org Cc: yamada.masahiro@socionext.com Link: https://lore.kernel.org/lkml/1529412794-17720-8-git-send-email-will.deacon@arm.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/asm-generic/bitops/ext2-atomic.h')
0 files changed, 0 insertions, 0 deletions