vmware-archive / go-pmem-transaction

Golang library for using persistent memory
Other
29 stars 5 forks source link

Remove unneeded store fences from Log functions #9

Closed jerrinsg closed 5 years ago

jerrinsg commented 5 years ago

Optimization - Change some of the PersistRange() APIs with FlushRange(). PersistRange does a cache flush followed by a memory store fence. In cases where the memory store fence is not necessary, I have replaced PersistRange() with FlushRange(). FlushRange() only does a cache flush and does not issue a store fence.