|
|
Subscribe / Log in / New account

wmb, smp_wmb, and store-release

wmb, smp_wmb, and store-release

Posted Mar 1, 2021 3:00 UTC (Mon) by PengZheng (subscriber, #108006)
In reply to: Uh-oh by pbonzini
Parent article: Lockless patterns: relaxed access and partial memory barriers

> This is not entirely correct, because barriers are bidirectional while store-release is unidirectional.

Thanks for correcting my misunderstanding. I read the following for a brief explanation of memory barriers:
http://bruceblinn.com/linuxinfo/MemoryBarriers.html


to post comments


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