From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hancock.sc.steeleye.com (nat9.steeleye.com [65.114.3.137]) by dsl2.external.hp.com (Postfix) with ESMTP id 2A8CD48E6 for ; Fri, 22 Aug 2003 12:56:20 -0600 (MDT) Received: from mulgrave-w.il.steeleye.com (il-ppp.sc.steeleye.com [172.17.6.240]) by hancock.sc.steeleye.com (8.11.6/linuxconf) with ESMTP id h7MIu6I10814; Fri, 22 Aug 2003 14:56:06 -0400 Subject: Re: [parisc-linux] Re: Problems with kernel mmap (failing tst-mmap-eofsync in glibc on parisc) From: James Bottomley To: "David S. Miller" Cc: Hugh Dickins , willy@debian.org, Linux Kernel , PARISC list , drepper@redhat.com In-Reply-To: <20030822113106.0503a665.davem@redhat.com> References: <20030822110144.5f7b83c5.davem@redhat.com> <20030822113106.0503a665.davem@redhat.com> Content-Type: text/plain Date: 22 Aug 2003 13:56:06 -0500 Message-Id: <1061578568.2053.313.camel@mulgrave> Mime-Version: 1.0 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 Fri, 2003-08-22 at 13:31, David S. Miller wrote: > On Fri, 22 Aug 2003 19:34:41 +0100 (BST) > Hugh Dickins wrote: > > > And to me. If VM_SHARED is set, then __vma_link_file puts the vma on > > on i_mmap_shared. If VM_SHARED is not set, it puts the vma on i_mmap. > > flush_dcache_page treats i_mmap_shared and i_mmap lists equally. > > But file system page cache writes only call flush_dache_page() > if the page has a non-empty i_mmap_shared list. Hmm, but if it does that then the glibc bug test should show up on sparc because the i_mmap_shared list is empty if we only do MAP_SHARED of read only files. James