The Definitive Guide to atomic
The memory controller is simply in charge of making sure that memory & cache on diverse processors stays regular - if you write to memory on CPU1, CPU2 is not going to have the capacity to examine another thing from its cache. It's actually not its duty to make sure that They are both equally making an attempt to manipulate exactly the same facts.