From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Phillips Subject: Re: Non-GPL export of invalidate_mmap_range Date: Thu, 19 Feb 2004 17:31:33 -0500 References: <20040216190927.GA2969@us.ibm.com> <200402191531.56618.phillips@arcor.de> <1077228402.2070.893.camel@sisko.scot.redhat.com> In-Reply-To: <1077228402.2070.893.camel@sisko.scot.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402191731.33473.phillips@arcor.de> Sender: owner-linux-mm@kvack.org Return-Path: To: "Stephen C. Tweedie" Cc: Andrew Morton , "Paul E. McKenney" , Christoph Hellwig , linux-kernel , linux-mm List-ID: Hi Stephen, On Thursday 19 February 2004 17:06, Stephen C. Tweedie wrote: > Hi, > > On Thu, 2004-02-19 at 20:56, Daniel Phillips wrote: > > OpenGFS and Sistina GFS use zap_page_range directly, essentially doing > > the same as invalidate_mmap_range but skipping any vmas belonging to > > MAP_PRIVATE mmaps. > > Well, MAP_PRIVATE maps can contain shared pages too --- any page in a > MAP_PRIVATE map that has been mapped but not yet written to is still > shared, and still needs shot down on truncate(). Exactly, and we ought to take this opportunity to do that properly, which is easy. I'm just curious how GPFS deals with this issue, or if it simply doesn't support MAP_PRIVATE. Regards, Daniel -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: aart@kvack.org