tools/memory-model: Clarify LKMM's limitations in litmus-tests.txt
authorPaul Heidekrüger <paul.heidekrueger@in.tum.de>
Tue, 14 Jun 2022 15:48:11 +0000 (15:48 +0000)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 31 Aug 2022 12:15:31 +0000 (05:15 -0700)
commitbe94ecf7608cc11ff46442012e710bb8fb139b99
tree2257f5573fac835ef778932571069baf5270fe6d
parentf556082dd7fc5a97326e44aae66199cc639a671c
tools/memory-model: Clarify LKMM's limitations in litmus-tests.txt

As discussed, clarify LKMM not recognizing certain kinds of orderings.
In particular, highlight the fact that LKMM might deliberately make
weaker guarantees than compilers and architectures.

[ paulmck: Fix whitespace issue noted by checkpatch.pl. ]

Link: https://lore.kernel.org/all/YpoW1deb%2FQeeszO1@ethstick13.dse.in.tum.de/T/#u
Co-developed-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Paul Heidekrüger <paul.heidekrueger@in.tum.de>
Reviewed-by: Marco Elver <elver@google.com>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Cc: Charalampos Mainas <charalampos.mainas@gmail.com>
Cc: Pramod Bhatotia <pramod.bhatotia@in.tum.de>
Cc: Soham Chakraborty <s.s.chakraborty@tudelft.nl>
Cc: Martin Fink <martin.fink@in.tum.de>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/memory-model/Documentation/litmus-tests.txt