memory model (HW + SW perspectives) 0 ▲ home - SHRIK3 on SHRIK3 20 minutes ago · Tech · hide 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 Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town