Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751227Ab0DMEkB (ORCPT ); Tue, 13 Apr 2010 00:40:01 -0400 Received: from rcsinet12.oracle.com ([148.87.113.124]:35667 "EHLO rcsinet12.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750728Ab0DMEj7 (ORCPT ); Tue, 13 Apr 2010 00:39:59 -0400 Message-ID: <4BC3F4F5.9010601@oracle.com> Date: Mon, 12 Apr 2010 21:37:09 -0700 From: Yinghai User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100317 SUSE/3.0.4-1.1.1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Benjamin Herrenschmidt CC: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton , David Miller , Linus Torvalds , Johannes Weiner , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH 15/39] lmb: Add lmb_find_area_node() References: <1270793048-23796-1-git-send-email-yinghai@kernel.org> <1270793048-23796-16-git-send-email-yinghai@kernel.org> <1271132330.13059.64.camel@pasglop> In-Reply-To: <1271132330.13059.64.camel@pasglop> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Source-IP: acsmt353.oracle.com [141.146.40.153] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4BC3F56D.0015:SCFMA4539814,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 811 Lines: 21 On 04/12/2010 09:18 PM, Benjamin Herrenschmidt wrote: > On Thu, 2010-04-08 at 23:03 -0700, Yinghai Lu wrote: >> It can be used to find NODE_DATA for numa. >> >> Need to make sure early_node_map[] is filled before it is called, otherwise >> it will fallback to lmb_find_area(), with node range. > > Isn't that more duplication from what's already in there for nid > handling ? (Which btw may not be optimal, simply what I'm saying is that > all that stuff should be factored). maybe could try to merge them later. or let sparc64 to use lmb_find_area_node()? YH -- 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/