An introduction to lockless algorithms
An introduction to lockless algorithms
Posted Feb 21, 2021 12:38 UTC (Sun) by ale2018 (guest, #128727)Parent article: An introduction to lockless algorithms
If pointers are 64 bit, does that statement imply that the cache is being updated by minimal chunks of that size? I mean, why cannot it read the lower part of &a?
Posted Feb 21, 2021 12:53 UTC (Sun)
by pbonzini (subscriber, #60935)
[Link]
The processor itself will load data from memory in cache lines that will usually be 32, 64 or 128 *bytes* long.
An introduction to lockless algorithms