Volatile in Wintun

Jason A. Donenfeld Jason at zx2c4.com
Sat Aug 24 14:41:33 CEST 2019

Hi Lev,

I spent a while squinting at assembly diffs and reviewing how the
linux kernel does things. Voila:

> Does it mean that hardware reordering

I'm mostly concerned here with the compiler reordering accesses,
actually. With regards to hardware memory barriers, I haven't seen
places yet where we'd need an explicit smp_mb() or similar that's not
already provided by the various locks. But let me know if your
analysis concludes differently.


More information about the WireGuard mailing list