From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e2.ny.us.ibm.com (e2.ny.us.ibm.com [32.97.182.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "e2.ny.us.ibm.com", Issuer "Equifax" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 115E3B6EEA for ; Tue, 10 Aug 2010 22:17:38 +1000 (EST) Received: from d01relay07.pok.ibm.com (d01relay07.pok.ibm.com [9.56.227.147]) by e2.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id o7AC3N2O028806 for ; Tue, 10 Aug 2010 08:03:23 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay07.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o7ACHLt32371606 for ; Tue, 10 Aug 2010 08:17:21 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o7ACHKFP010675 for ; Tue, 10 Aug 2010 08:17:21 -0400 Message-ID: <4C61434F.7060808@austin.ibm.com> Date: Tue, 10 Aug 2010 07:17:19 -0500 From: Nathan Fontenot MIME-Version: 1.0 To: Nishanth Aravamudan Subject: Re: [PATCH 8/8] v5 Update memory-hotplug documentation References: <4C60407C.2080608@austin.ibm.com> <4C604C62.7060509@austin.ibm.com> <201008091344.37878.nacc@us.ibm.com> In-Reply-To: <201008091344.37878.nacc@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Cc: linuxppc-dev@ozlabs.org, Greg KH , linux-kernel@vger.kernel.org, Dave Hansen , linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, KAMEZAWA Hiroyuki List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 08/09/2010 03:44 PM, Nishanth Aravamudan wrote: > On Monday, August 09, 2010 11:43:46 am Nathan Fontenot wrote: >> Update the memory hotplug documentation to reflect the new behaviors of >> memory blocks reflected in sysfs. > > > >> Index: linux-2.6/Documentation/memory-hotplug.txt >> =================================================================== >> --- linux-2.6.orig/Documentation/memory-hotplug.txt 2010-08-09 07:36:48.000000000 -0500 >> +++ linux-2.6/Documentation/memory-hotplug.txt 2010-08-09 07:59:54.000000000 -0500 > > > >> -/sys/devices/system/memory/memoryXXX/phys_index >> +/sys/devices/system/memory/memoryXXX/start_phys_index >> +/sys/devices/system/memory/memoryXXX/end_phys_index >> /sys/devices/system/memory/memoryXXX/phys_device >> /sys/devices/system/memory/memoryXXX/state >> /sys/devices/system/memory/memoryXXX/removable >> >> -'phys_index' : read-only and contains section id, same as XXX. > > > >> +'phys_index' : read-only and contains section id of the first section > > Shouldn't this be "start_phys_index"? Hmmm... looks like I missed something in the documentation. The property should be 'phys_index'. I thought about changing it to 'start_phys_index' but that was rejected. The listing of the files above is wrong in this patch, it should be +/sys/devices/system/memory/memoryXXX/phys_index +/sys/devices/system/memory/memoryXXX/end_phys_index Thanks, Nathan