|
|
Subscribe / Log in / New account

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.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds