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 5F56D6B00EA for ; Thu, 22 Mar 2012 15:30:47 -0400 (EDT) Date: Thu, 22 Mar 2012 14:30:44 -0500 (CDT) From: Christoph Lameter Subject: Re: [PATCH -mm] do_migrate_pages() calls migrate_to_node() even if task is already on a correct node In-Reply-To: <4F6B7854.1040203@redhat.com> Message-ID: References: <4F6B6BFF.1020701@redhat.com> <4F6B7358.60800@gmail.com> <4F6B7854.1040203@redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Larry Woodman Cc: KOSAKI Motohiro , linux-mm@kvack.org, Linux Kernel Mailing List , Andrew Morton , Rik van Riel , Motohiro Kosaki On Thu, 22 Mar 2012, Larry Woodman wrote: > > Application may manage their locality given a range of nodes and each of > > the x .. x+n nodes has their particular purpose. > So to be clear on this, in that case the intention would be move 3 to 4, 4 to > 5 and 5 to 6 > to keep the node ordering the same? Yup. Have a look at do_migrate_pages and the descrition in the comment by there by Paul Jackson. -- 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