In the absence of cache coherency, two different processors may see two different values for the same location in memory.
在缓存缺乏一致性的情况下,两个不同的处理器可以看到在内存中同一位置处有两种不同的值。
Explicitly invalidate a region of physical memory from the cache hierarchy before doing a DMA, to ensure coherency.
明确地做一个DMA,以确保一致性无效之前从缓存层次结构的物理内存区域。
On current architectures, as pointed out in the comments, you mostly end up using the atomic primitives of the CPU and the coherency protocols provided by the memory subsystem.
在当前的体系结构中,如注释中所指出的,你通常最终使用CPU的原子基元和内存子系统提供的一致性协议。
应用推荐