From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e7.ny.us.ibm.com (e7.ny.us.ibm.com [32.97.182.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "e7.ny.us.ibm.com", Issuer "Equifax" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 90003B70AE for ; Mon, 4 Oct 2010 05:27:07 +1100 (EST) Received: from d01relay07.pok.ibm.com (d01relay07.pok.ibm.com [9.56.227.147]) by e7.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id o93IBkBN032577 for ; Sun, 3 Oct 2010 14:11:46 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay07.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o93IR4Sg2265148 for ; Sun, 3 Oct 2010 14:27:04 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o93IR3LG026904 for ; Sun, 3 Oct 2010 14:27:03 -0400 Date: Sun, 3 Oct 2010 23:57:01 +0530 From: Balbir Singh To: Dave Hansen Subject: Re: [PATCH 7/9] v3 Define memory_block_size_bytes for powerpc/pseries Message-ID: <20101003182701.GI7896@balbir.in.ibm.com> References: <4CA62700.7010809@austin.ibm.com> <4CA62A0A.4050406@austin.ibm.com> <20101003175500.GE7896@balbir.in.ibm.com> <20101003180731.GT14064@sgi.com> <1286129461.9970.1.camel@nimitz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: <1286129461.9970.1.camel@nimitz> Cc: Greg KH , steiner@sgi.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Robin Holt , linuxppc-dev@lists.ozlabs.org, KAMEZAWA Hiroyuki Reply-To: balbir@linux.vnet.ibm.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , * Dave Hansen [2010-10-03 11:11:01]: > On Sun, 2010-10-03 at 13:07 -0500, Robin Holt wrote: > > On Sun, Oct 03, 2010 at 11:25:00PM +0530, Balbir Singh wrote: > > > * Nathan Fontenot [2010-10-01 13:35:54]: > > > > > > > Define a version of memory_block_size_bytes() for powerpc/pseries such that > > > > a memory block spans an entire lmb. > > > > > > I hope I am not missing anything obvious, but why not just call it > > > lmb_size, why do we need memblock_size? > > > > > > Is lmb_size == memblock_size after your changes true for all > > > platforms? > > > > What is an lmb? I don't recall anything like lmb being referred to in > > the rest of the kernel. > > Heh. It's the OpenFirmware name for a Logical Memory Block. Basically > what we use to determine the SECTION_SIZE on powerpc. Probably not the > best terminology to use elsewhere in the kernel. Agreed for the kernel, this patch was for powerpc/pseries, hence was checking in this context. -- Three Cheers, Balbir