Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755871AbZF3Arl (ORCPT ); Mon, 29 Jun 2009 20:47:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752542AbZF3Are (ORCPT ); Mon, 29 Jun 2009 20:47:34 -0400 Received: from mga09.intel.com ([134.134.136.24]:62272 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752220AbZF3Are (ORCPT ); Mon, 29 Jun 2009 20:47:34 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.42,312,1243839600"; d="scan'208";a="528898113" Date: Tue, 30 Jun 2009 08:47:35 +0800 From: Shaohua Li To: Christoph Lameter Cc: "akpm@linux-foundation.org" , linux-mm@kvack.org, linux-kernel@vger.kernel.org, "mel@csn.ul.ie" , "Zhao, Yakui" 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: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1008 Lines: 22 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/