From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: mbind.2 man page patch From: Lee Schermerhorn In-Reply-To: <46A8D787.4090202@gmx.net> 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> <46A8D787.4090202@gmx.net> Content-Type: text/plain Date: Thu, 26 Jul 2007 14:06:01 -0400 Message-Id: <1185473161.7653.20.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Michael Kerrisk Cc: ak@suse.de, clameter@sgi.com, akpm@linux-foundation.org, linux-mm@kvack.org, Samuel Thibault List-ID: On Thu, 2007-07-26 at 19:19 +0200, Michael Kerrisk wrote: > [...] > >> +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. > Wish I'd written that ;-) Seriously, that is correct. Lee -- 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