Skip to the content.

Linux 内核 Litmus Tests 介绍

Documentation/litmus-tests/

先把基本的理论搞清楚了

We provide the following tools:

opam 环境初始化:

sudo yum install opam
sudo opam init
opam install herdtools7

也许这两个问题都是需要理解的

https://acg.cis.upenn.edu/papers/dac11_litmus.pdf https://research.nvidia.com/sites/default/files/pubs/2017-04_Automated-Synthesis-of/ASPLOS_2017_Memory_Model_Verification.pdf https://arxiv.org/pdf/2310.12337

https://github.com/litmus-tests/litmus-tests-riscv

需要走的教程

有趣的报告: https://lpc.events/event/7/contributions/653/attachments/605/1087/Write_once_herd_everywhere.pdf

不装逼,先把教程看完就可以了

https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/perfbook.git

kernel : tools/memory-model/Documentation/

herd7 -conf linux-kernel.cfg litmus-tests/MP+pooncerelease+poacquireonce.litmus

的确,很好玩,把所有的路线都走一遍。

为什么需要 0:r2 的前面

26 exists (0:r2=0 /\ 1:r4=0)

其他的地方的探索

写的很长 https://stackoverflow.com/questions/69112020/reason-for-the-name-of-the-store-buffer-litmus-test-on-x86-tso-memory-model

这个写的太好了

tools/memory-model/Documentation/README

还照顾到各个水平层次的了

工具

看看

https://news.ycombinator.com/item?id=44036829

本站所有文章转发 CSDN 将按侵权追究法律责任,其它情况随意。