Received: from eggs.gnu.org ([2001:4830:134:3::10]:58749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLxxx-0007FU-66 for qemu-devel@nongnu.org; Thu, 12 Feb 2015 12:54:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLxxr-0008Jf-Eu for qemu-devel@nongnu.org; Thu, 12 Feb 2015 12:54:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLxxr-0008JX-3G for qemu-devel@nongnu.org; Thu, 12 Feb 2015 12:54:11 -0500 Date: Thu, 12 Feb 2015 15:54:06 -0200 From: Eduardo Habkost Message-ID: <20150212175406.GX30651@thinpad.lan.raisama.net> References: <1423511596-2584-1-git-send-email-ehabkost@redhat.com> <1423511596-2584-3-git-send-email-ehabkost@redhat.com> <20150212160149.3adcf821@nial.brq.redhat.com> <20150212152426.GV30651@thinpad.lan.raisama.net> <20150212170154.5a5ef647@nial.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150212170154.5a5ef647@nial.brq.redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 2/3] numa: Reject configuration if CPU appears on multiple nodes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: Paolo Bonzini , Hu Tao , qemu-devel@nongnu.org, "Michael S. Tsirkin" On Thu, Feb 12, 2015 at 05:01:54PM +0100, Igor Mammedov wrote: > On Thu, 12 Feb 2015 13:24:26 -0200 > Eduardo Habkost wrote: > > > On Thu, Feb 12, 2015 at 04:01:49PM +0100, Igor Mammedov wrote: [...] > > > > + DECLARE_BITMAP(present_cpus, MAX_CPUMASK_BITS); > > > naming is a bit confusing, it's not really present CPUs but > > > more like possible_cpus > > > > I meant "present in the NUMA configuration". "Possible" wouldn't > > describe it IMO, as it is just tracking the CPUs seen in the config. I > > will rename it to "seen_cpus" in the next version. > or maybe numa_cpus We're already inside numa.c in a function called validate_numa_cpus(). I believe a "numa_" prefix would be redundant. (I just sent v3 of the series using seen_cpus, anyway) -- Eduardo