> Actually, a write to memory for a memory mapped file is more similar to
> write(2). If two programs have the same file mapped then the effect on the
> memory they share is instantaneous because it is the same physical memory.
> A mmapped file becomes shared memory as soon as it is mapped at least twice.
True, for some interpretation of "instantaneous". It does not
establish a happens-before relationship though, as
zfs-discuss mailing list