tools/memory-model: Document herd7 (abstract) representation
The Linux-kernel memory model (LKMM) source code and the herd7 tool are closely linked in that the latter is responsible for (pre)processing each C-like macro of a litmus test, and for providing the LKMM with a set of events, or "representation", corresponding to the given macro. This commit therefore provides herd-representation.txt to document the representations of the concurrency macros, following their "classification" in Documentation/atomic_t.txt. Link: https://lore.kernel.org/all/ZnFZPJlILp5B9scN@andrea/Suggested-by:Hernan Ponce de Leon <hernan.poncedeleon@huaweicloud.com> Signed-off-by:
Andrea Parri <parri.andrea@gmail.com> Reviewed-by:
Boqun Feng <boqun.feng@gmail.com> Reviewed-by:
Hernan Ponce de Leon <hernan.poncedeleon@huaweicloud.com> Signed-off-by:
Paul E. McKenney <paulmck@kernel.org>
Showing
Please register or sign in to comment