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 ishst
if fence) on one core to one page properly synchronize withldar
(ordmb ishld
if fence) on another core to the other page? - ...would a
dc whatever
on one virtual address have the same effect as adc whatever
on the other?