path: root/Documentation/atomic_bitops.txt
AgeCommit message (Collapse)Author
2019-04-11docs: atomic_bitops.txt: add a title for this documentMauro Carvalho Chehab
This document misses a title. Add it, in order to follow the documentation standard. Signed-off-by: Mauro Carvalho Chehab <> Signed-off-by: Jonathan Corbet <>
2018-02-13locking/atomic/bitops: Document and clarify ordering semantics for failed ↵Will Deacon
test_and_{}_bit() A test_and_{}_bit() operation fails if the value of the bit is such that the modification does not take place. For example, if test_and_set_bit() returns 1. In these cases, follow the behaviour of cmpxchg and allow the operation to be unordered. This also applies to test_and_set_bit_lock() if the lock is found to be be taken already. Signed-off-by: Will Deacon <> Acked-by: Peter Zijlstra (Intel) <> Cc: Linus Torvalds <> Cc: Paul E. McKenney <> Cc: Thomas Gleixner <> Link: Signed-off-by: Ingo Molnar <>
2017-08-10Documentation/locking/atomic: Add documents for new atomic_t APIsPeter Zijlstra
Since we've vastly expanded the atomic_t interface in recent years the existing documentation is woefully out of date and people seem to get confused a bit. Start a new document to hopefully better explain the current state of affairs. The old atomic_ops.txt also covers bitmaps and a few more details so this is not a full replacement and we'll therefore keep that document around until such a time that we've managed to write more text to cover its entire. Also please, ReST people, go away. Signed-off-by: Peter Zijlstra (Intel) <> Cc: Boqun Feng <> Cc: Linus Torvalds <> Cc: Paul McKenney <> Cc: Peter Zijlstra <> Cc: Randy Dunlap <> Cc: Thomas Gleixner <> Cc: Will Deacon <> Signed-off-by: Ingo Molnar <>