Cache Coherency and Memory Consistency
暂无分享,去创建一个
The fundamental problem in shared memory programming is discussed in this chapter: given the asynchronous behavior of threads and the hierarchical structure of the memory system, what is the value retrieved by a read of a memory location? Is it the correct, expected data value? This issue leads to the notion of a memory consistency model, and a high-level overview of the relevance of this concept is presented. A few concepts discussed in this chapter play a fundamental role in what follows, and in particular, the fact that mutual exclusion, initially introduced to enforce thread safety in memory write operations, is also required to enforce memory consistency in memory read operations.
[1] Donald J. Patterson,et al. Computer organization and design: the hardware-software interface (appendix a , 1993 .
[2] Bennet S. Yee,et al. Native Client: A Sandbox for Portable, Untrusted x86 Native Code , 2009, 2009 30th IEEE Symposium on Security and Privacy.
[3] Hans-Juergen Boehm,et al. HP Laboratories , 2006 .
[4] Leslie Lamport,et al. How to Make a Multiprocessor Computer That Correctly Executes Multiprocess Programs , 2016, IEEE Transactions on Computers.