relatively simple until you get into cache coherence (not an issue if you mark the memory as volatile)
It just forces the compiler to generate all memory accesses on this variable. And if this variable is in a cached memory region, then it opens the door to very usual cache coherency problems