From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx143.postini.com [74.125.245.143]) by kanga.kvack.org (Postfix) with SMTP id 633DD6B004D for ; Mon, 14 May 2012 03:53:45 -0400 (EDT) Message-ID: <4FB0BA22.1090308@kernel.org> Date: Mon, 14 May 2012 16:54:10 +0900 From: Minchan Kim MIME-Version: 1.0 Subject: Re: Allow migration of mlocked page? References: <4FAC9786.9060200@kernel.org> <1336728026.1017.7.camel@twins> <4FB0866D.4020203@kernel.org> <1336978573.2443.13.camel@twins> <4FB0B61E.6040902@kernel.org> <1336981501.2443.19.camel@twins> <1336981790.2443.20.camel@twins> In-Reply-To: <1336981790.2443.20.camel@twins> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Peter Zijlstra Cc: Johannes Weiner , Mel Gorman , Rik van Riel , Andrew Morton , Andrea Arcangeli , KAMEZAWA Hiroyuki , Christoph Lameter , "linux-mm@kvack.org" , tglx@linutronix.de, Ingo Molnar , Theodore Ts'o On 05/14/2012 04:49 PM, Peter Zijlstra wrote: > On Mon, 2012-05-14 at 09:45 +0200, Peter Zijlstra wrote: >> On Mon, 2012-05-14 at 16:37 +0900, Minchan Kim wrote: >>> What's the meaning of "locked"? Isn't it pinning? >> >> It doesn't say, the best inference I can make is that locked means the >> effect of mlock() which is defined as: 'to be memory-resident', esp. so >> since it then states: 'until unlocked' (or exit/exec). >> >> So basically the statement: 'locked and memory-resident' is redundant. > > And alternative interpretation of that statement is that mlock() whould > keep pages memory-resident, but also make them memory-resident. IE, it > should fault the entire range in before returning the system-call. > Fair enough. Thanks. -- Kind regards, Minchan Kim -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org