Messages in this thread | | | Date | Thu, 18 Nov 2004 21:29:36 -0800 | From | Matt Mackall <> | Subject | Re: [PATCH 17/20] FRV: Better mmap support in uClinux |
| |
On Mon, Nov 08, 2004 at 02:34:20PM +0000, dhowells@redhat.com wrote:
> (3) Files (and blockdevs) cannot be mapped shared since it is not > really possible to honour this by writing any changes back to the > backing device.
[way behind on email]
I think this could be done at msync, munmap and exit time? You end up flushing the entire mapping, but it's still correct (and POSIX compliant).
And, if you wanted to be really clever, you could store a hash of each page to detect changes and avoid the extra I/O.
-- Mathematics is the supreme nostalgia of our time. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |