From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from pizda.ninka.net (pizda.ninka.net [216.101.162.242]) by dsl2.external.hp.com (Postfix) with ESMTP id 98037492F for ; Sat, 23 Aug 2003 17:00:56 -0600 (MDT) Date: Sat, 23 Aug 2003 15:53:12 -0700 From: "David S. Miller" To: James Bottomley Cc: hugh@veritas.com, willy@debian.org, linux-kernel@vger.kernel.org, parisc-linux@lists.parisc-linux.org, drepper@redhat.com Subject: Re: [parisc-linux] Re: Problems with kernel mmap (failing tst-mmap-eofsync in glibc on parisc) Message-Id: <20030823155312.63f996f6.davem@redhat.com> In-Reply-To: <1061677283.1992.471.camel@mulgrave> References: <20030822110144.5f7b83c5.davem@redhat.com> <20030822113106.0503a665.davem@redhat.com> <1061578568.2053.313.camel@mulgrave> <20030822121955.619a14eb.davem@redhat.com> <1061591255.1784.636.camel@mulgrave> <20030822154100.06314c8e.davem@redhat.com> <1061600974.2090.809.camel@mulgrave> <20030823144330.5ddab065.davem@redhat.com> <1061677283.1992.471.camel@mulgrave> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: On 23 Aug 2003 17:21:21 -0500 James Bottomley wrote: > On Sat, 2003-08-23 at 16:43, David S. Miller wrote: > > On 22 Aug 2003 20:09:30 -0500 > > James Bottomley wrote: > > > > > To avoid having to flush the non-shared mappings (basically on parisc if > > > you write to a file backing a MAP_PRIVATE mapping then we don't > > > guarantee you see the update). BTW, what gains to you really get from this optimization? How often do writes happen to files while private mappings to it exist? :-) This is one of the reasons I think this discussion is a bit silly. What specific cases does your optimization help, and how common is it? Show us some numbers.