Received: from eggs.gnu.org ([2001:4830:134:3::10]:40779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEGkl-0006WK-Qi for qemu-devel@nongnu.org; Fri, 26 May 2017 11:02:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEGkl-0002Cq-1m for qemu-devel@nongnu.org; Fri, 26 May 2017 11:02:11 -0400 Date: Fri, 26 May 2017 12:02:03 -0300 From: Eduardo Habkost Message-ID: <20170526150203.GG22043@thinpad.lan.raisama.net> References: <1495550330-34087-1-git-send-email-imammedo@redhat.com> <1495550330-34087-3-git-send-email-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1495550330-34087-3-git-send-email-imammedo@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 2/5] numa: move default mapping init to machine List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: qemu-devel@nongnu.org, Andrew Jones , qemu-arm@nongnu.org, qemu-ppc@nongnu.org, David Gibson On Tue, May 23, 2017 at 04:38:47PM +0200, Igor Mammedov wrote: > there is no need use cpu_index_to_instance_props() for setting > default cpu -> node mapping. Generic machine code can do it > without cpu_index by just enabling already preset defaults > in possible_cpus. > > PS: > as bonus it makes one less user of cpu_index_to_instance_props() > > Signed-off-by: Igor Mammedov Queued on numa-next, thanks! -- Eduardo