Re: [PATCH] fix remap of shared read only mappings

From: Daniel Phillips
Date: Thu Sep 04 2003 - 20:19:04 EST


On Friday 05 September 2003 02:52, James Bottomley wrote:
> On Thu, 2003-09-04 at 20:49, Daniel Phillips wrote:
> > This an interesting tidbit, as I'm busy working on a DFS mmap for
> > OpenGFS, and I want to be sure I'm implementing true-blue Posix
> > semantics. But trawling through the Posix/SUS specification at:
> >
> > http://www.unix-systems.org/version3/online.html
> >
> > all it says is that for MAP_SHARED "write references shall change the
> > underlying object." I don't see anything about when those changes become
> > visible to other mappers, much less any discussion of local caching. Am
> > I looking at the wrong document?
>
> Not sure which is "correct", but the one I'm looking at is the POSIX
> update from the open group:
>
> http://www.opengroup.org/onlinepubs/007904975/functions/mmap.html
>
> And that's where I was quoting from.

It appears to be the same text. Either I'm blind, or the part about the
caching was your editorial commentaryk. Anyway, I'm going with Linus' ruling
on semantics, I agree totally.

Regards,

Daniel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/