From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with SMTP id 74D896B004D for ; Mon, 29 Jun 2009 20:46:10 -0400 (EDT) Date: Tue, 30 Jun 2009 08:47:35 +0800 From: Shaohua Li Subject: Re: + memory-hotplug-alloc-page-from-other-node-in-memory-online.patch added to -mm tree Message-ID: <20090630004735.GA21254@sli10-desk.sh.intel.com> References: <200906291949.n5TJnuov028806@imap1.linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org To: Christoph Lameter Cc: "akpm@linux-foundation.org" , linux-mm@kvack.org, linux-kernel@vger.kernel.org, "mel@csn.ul.ie" , "Zhao, Yakui" List-ID: On Tue, Jun 30, 2009 at 06:07:16AM +0800, Christoph Lameter wrote: > On Mon, 29 Jun 2009, akpm@linux-foundation.org wrote: > > > To initialize hotadded node, some pages are allocated. At that time, the > > node hasn't memory, this makes the allocation always fail. In such case, > > let's allocate pages from other nodes. > > Thats bad. Could you populate the buddy list with some large pages from > the beginning of the node instead of doing this special casing? The > vmemmap and other stuff really should come from the node that is added. > Otherwise off node memory accesses will occur constantly for processors on > that node. Ok, this is preferred. But the node hasn't any memory present at that time, let me check how could we do it. Thanks, Shaohua -- 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