From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with SMTP id 015926B01F6 for ; Thu, 22 Apr 2010 10:40:05 -0400 (EDT) Date: Thu, 22 Apr 2010 09:38:43 -0500 (CDT) From: Christoph Lameter Subject: Re: [PATCH] mempolicy:add GFP_THISNODE when allocing new page In-Reply-To: Message-ID: References: <1270522777-9216-1-git-send-email-lliubbo@gmail.com> <20100413083855.GS25756@csn.ul.ie> <20100416111539.GC19264@csn.ul.ie> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org To: Bob Liu Cc: Mel Gorman , kamezawa.hiroyu@jp.fujitsu.com, minchan.kim@gmail.com, akpm@linux-foundation.org, linux-mm@kvack.org, andi@firstfloor.org, rientjes@google.com, lee.schermerhorn@hp.com List-ID: On Thu, 22 Apr 2010, Bob Liu wrote: > Just one small point, why do_move_pages() in migrate.c needs GFP_THISNODE ? Because the move_pages function call allows the user explicitly specify the node for each page. If we cannot move the page to the node the user wants then the best fallback is to keep it where it was. -- 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