From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzMYb-0004mb-VH for qemu-devel@nongnu.org; Tue, 24 Jun 2014 04:58:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzMYR-00044E-Qm for qemu-devel@nongnu.org; Tue, 24 Jun 2014 04:58:25 -0400 Received: from mail-pb0-f52.google.com ([209.85.160.52]:46456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzMYR-00041Y-Gu for qemu-devel@nongnu.org; Tue, 24 Jun 2014 04:58:15 -0400 Received: by mail-pb0-f52.google.com with SMTP id rq2so6993726pbb.11 for ; Tue, 24 Jun 2014 01:58:14 -0700 (PDT) Message-ID: <53A93DA1.1020203@ozlabs.ru> Date: Tue, 24 Jun 2014 18:58:09 +1000 From: Alexey Kardashevskiy MIME-Version: 1.0 References: <20140623193310.GD4323@linux.vnet.ibm.com> <20140624093348.094e6176@nial.usersys.redhat.com> In-Reply-To: <20140624093348.094e6176@nial.usersys.redhat.com> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH] numa: enable sparse node numbering List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: qemu-devel@nongnu.org, Nishanth Aravamudan , Eduardo Habkost , "Michael S. Tsirkin" On 06/24/2014 05:33 PM, Igor Mammedov wrote: > On Mon, 23 Jun 2014 12:33:10 -0700 > Nishanth Aravamudan wrote: > >> Add a present field to NodeInfo which indicates if a given nodeid was >> present on the command-line or not. Current code relies on a memory >> value being passed for a node to indicate presence, which is >> insufficient in the presence of memoryless nodes or sparse numbering. >> Adjust the iteration of various NUMA loops to use the maximum known NUMA >> ID rather than the number of NUMA nodes. > Why would you need sparse numbering? > What task exactly are you trying to solve? This is to reproduce+debug the real POWERPC hardware behavior. No practical use as far as I can tell. -- Alexey