PL researcher thinking about the future of distributed systems
> PhD from UIUC
> Postdoc at SDU
> Cohost of the Type Theory Forall podcast
> dplyukhin.github.io
Check it out here: www.youtube.com/live/lGM37Z3...
Check it out here: www.youtube.com/live/lGM37Z3...
The fields of this C struct are modified by different CPUs. If you packed fields normally, modifications by one CPU will invalidate the cache of another CPU.
So the devs added padding, and now fields are on different cache lines!
The fields of this C struct are modified by different CPUs. If you packed fields normally, modifications by one CPU will invalidate the cache of another CPU.
So the devs added padding, and now fields are on different cache lines!