On x86-64, make MB/WMB compiler barriers
authorArjan van de Ven <arjan@linux.intel.com>
Sun, 17 Jun 2018 17:53:15 +0000 (17:53 +0000)
committerArjan van de Ven <arjan@linux.intel.com>
Sun, 17 Jun 2018 17:53:15 +0000 (17:53 +0000)
commit7e39ffe1135ee6ca1dc119f6eea9566668fd0916
tree2b8ed4f3aaa2967fd99f1ccf9111f996ec3dbb51
parent73de17664dfdf2934a2fdc6dd9442107e6c85035
On x86-64, make MB/WMB compiler barriers

Whie on x86(64) one does not normally need full memory barriers, it's
good practice to at least use compiler barriers for places where on other
architectures memory barriers are used; this prevents the compiler
from over-optimizing.
common_x86_64.h