X86 persistency instruction
The instruction clwb, clflush, clflushopt writes cache line back asynchronously
clwbandclflushoptis semantically equivalent, butclflushoptinvalidates the cache line. Thereforeclwbprovides better performance.- However,
clwbdoes not guarantee it perserves the cache line. It’s just a ‘maybe’. clflushis stronger in terms of ordering. See Px86 for details.