tools/memory-model: Document locking corner casesMost Linux-kernel uses of locking are straightforward, but there arecorner-case uses that rely on less well-known aspects of the lock andunlock p
tools/memory-model: Document locking corner casesMost Linux-kernel uses of locking are straightforward, but there arecorner-case uses that rely on less well-known aspects of the lock andunlock primitives. This commit therefore adds a locking.txt and litmustests in Documentation/litmus-tests/locking to explain these corner-caseuses.[ paulmck: Apply Andrea Parri feedback for klitmus7. ][ paulmck: Apply Akira Yokosawa example-consistency feedback. ]Reviewed-by: Akira Yokosawa <akiyks@gmail.com>Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
show more ...