shrik3.com · 7d · discuss
WIP notes on (weak) memory models… The book: Nagarajan et al. - A Primer on Memory Consistency and Cache Coherence From the linux: LKMM: linux/Documentation/memory-barriers follow-ups: Linux Memory Model by Paul E. McKenney, linux/Documentation/volatile-considered-harmful.txt out-of-thin-air stores (before C11) Single Threaded Memory Model: https://web.archive.org/web/20260716202742/https://www.airs.com/blog/archives/79 Blog series by Preshing: Memory ordering at compile time https://preshing.com/20120625/memory-ordering-at-compile-time/ Memory Barriers are like source control operations https://preshing.com/20120710/memory-barriers-are-like-source-control-operations/ Acquire and Release Semantics https://preshing.com/20120913/acquire-and-release-semantics/ Others: Understanding the C/C++ memory model https://davmac.wordpress.com/2018/01/28/understanding-the-c-c-memory-model/ Paul E. McKenney, Memory Barriers: a Hardware View for Software Hackers