From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [PATCH v6] add MAP_UNLOCKED mmap flag Date: Mon, 18 Jan 2010 16:14:43 +0100 Message-ID: <1263827683.4283.610.camel@laptop> References: <20100118133755.GG30698@redhat.com> <84144f021001180609r4d7fbbd0p972d5bc0e227d09a@mail.gmail.com> <20100118141938.GI30698@redhat.com> <20100118143232.0a0c4b4d@lxorguk.ukuu.org.uk> <1263826198.4283.600.camel@laptop> <20100118150159.GB14345@redhat.com> <1263827194.4283.609.camel@laptop> <4B547A31.4090106@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4B547A31.4090106@redhat.com> Sender: owner-linux-mm@kvack.org To: Avi Kivity Cc: Gleb Natapov , Alan Cox , Pekka Enberg , linux-mm@kvack.org, kosaki.motohiro@jp.fujitsu.com, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, akpm@linux-foundation.org, andrew.c.morrow@gmail.com, "Paul E. McKenney" List-Id: linux-api@vger.kernel.org On Mon, 2010-01-18 at 17:11 +0200, Avi Kivity wrote: > On 01/18/2010 05:06 PM, Peter Zijlstra wrote: > > On Mon, 2010-01-18 at 17:01 +0200, Gleb Natapov wrote: > > > >> There are valid uses for mlockall() > >> > > That's debatable. > > > > > > Real-time? I would not advice that, just mlock() the text and data you need for the real-time thread. mlockall() is a really blunt instrument. -- 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