Re: [parisc-linux] Re: Problems with kernel mmap (failingtst-mmap-eofsync in glibc on parisc)

From: David S. Miller
Date: Sat Aug 23 2003 - 16:59:24 EST


On Sat, 23 Aug 2003 08:22:19 +0100 (BST)
Hugh Dickins <hugh@xxxxxxxxxxx> wrote:

> On 22 Aug 2003, James Bottomley wrote:
> >
> > I suppose if we had a way of telling if any of the i_mmap list members
> > were really MAP_SHARED semantics mappings, then we could alter our
> > flush_dcache_page() implementation to work.
>
> Good idea. It's VM_MAYSHARE you need to check for.

Nope, please see my other email for why all of these ideas
simply will not work. If the first fault-in of a MAP_PRIVATE
page is a read, it's just like a MAP_SHARED read-only page until
the first write occurs.
-
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/