Lockless patterns: full memory barriers
Lockless patterns: full memory barriers
Posted Mar 7, 2021 16:02 UTC (Sun) by jcm (subscriber, #18262)Parent article: Lockless patterns: full memory barriers
x86 processors maintain the illusion of TSO ordering through the use of a MOB (Memory Ordering Buffer), which not only tracks the cache lines for ownership/invalidation but also replays at retirement if necessary in order to maintain ordering. So e.g. a load might be performed twice in order to ensure it retires correctly.
