summaryrefslogtreecommitdiff
path: root/Documentation/dev-tools
diff options
context:
space:
mode:
authorBoqun Feng <boqun.feng@gmail.com>2021-10-25 17:54:16 +0300
committerPaul E. McKenney <paulmck@kernel.org>2021-12-01 04:47:08 +0300
commitc438b7d860b4c1acb4ebff6d8d946d593ca5fe1e (patch)
tree5e86d66c4635958dbc2b9ee277e6234a9f055fc1 /Documentation/dev-tools
parentb47c05ecf60bd8743ad8c0ee510d3e1c060529d7 (diff)
downloadlinux-c438b7d860b4c1acb4ebff6d8d946d593ca5fe1e.tar.xz
tools/memory-model: litmus: Add two tests for unlock(A)+lock(B) ordering
The memory model has been updated to provide a stronger ordering guarantee for unlock(A)+lock(B) on the same CPU/thread. Therefore add two litmus tests describing this new guarantee, these tests are simple yet can clearly show the usage of the new guarantee, also they can serve as the self tests for the modification in the model. Co-developed-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Boqun Feng <boqun.feng@gmail.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'Documentation/dev-tools')
0 files changed, 0 insertions, 0 deletions