From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <46A8D787.4090202@gmx.net> Date: Thu, 26 Jul 2007 19:19:03 +0200 From: Michael Kerrisk MIME-Version: 1.0 Subject: Re: mbind.2 man page patch References: <1180467234.5067.52.camel@localhost> <200705292216.31102.ak@suse.de> <1180541849.5850.30.camel@localhost> <20070531082016.19080@gmx.net> <1180732544.5278.158.camel@localhost> <46A44B8D.2040200@gmx.net> <1185200768.5074.10.camel@localhost> In-Reply-To: <1185200768.5074.10.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Lee Schermerhorn Cc: ak@suse.de, clameter@sgi.com, akpm@linux-foundation.org, linux-mm@kvack.org, Samuel Thibault List-ID: [...] >> +If the specified memory range includes a memory mapped file mapped using >> +.BR mmap (2) >> +with the >> +.B MAP_SHARED >> +flag, the specified policy will be ignored for all page allocations >> +in this range. >> +.\" FIXME Lee / Andi: can you clarify/confirm "the specified policy >> +.\" will be ignored for all page allocations in this range". >> +.\" That text seems to be saying that if the memory range contains >> +.\" (say) some mappings that are allocated with MAP_SHARED >> +.\" and others allocated with MAP_PRIVATE, then the policy >> +.\" will be ignored for all of the mappings, including even >> +.\" the MAP_PRIVATE mappings. Right? I just want to be >> +.\" sure that that is what the text is meaning. > > I can see from the wording how you might think this. However, policy > will only be ignored for the SHARED mappings. So is a better wording something like: The specified policy will be ignored for any MAP_SHARED file mappings in the specified memory range. ? Cheers, Michael -- 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: email@kvack.org