Suppose I have two pages that map to the same physical memory. Would an acquire operation (or fence) on a virtual address in one page properly synchronize with a release operation (or fence) on a virtual address in the other? Secondly, would cache maintenance operations (dc, ic), too, work with such multiply-mapped memory?
In other words...
- ...would a
stlr(ordmb ishstif fence) on one core to one page properly synchronize withldar(ordmb ishldif fence) on another core to the other page? - ...would a
dc whateveron one virtual address have the same effect as adc whateveron the other?