From: Ian Jackson Subject: Re: [PATCH v8] Some automatic NUMA placement documentation Date: Thu, 26 Jul 2012 17:12:43 +0100 Message-ID: <20497.27771.62397.800032@mariner.uk.xensource.com> References: <3f5e9cf6d2931a7968ab.1343317587@Solace> <20497.27009.964251.991072@mariner.uk.xensource.com> <1343318999.26725.7.camel@Abyss> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1343318999.26725.7.camel@Abyss> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dario Faggioli Cc: Andre Przywara , Ian Campbell , Stefano Stabellini , George Dunlap , Juergen Gross , xen-devel List-Id: xen-devel@lists.xenproject.org Dario Faggioli writes ("Re: [PATCH v8] Some automatic NUMA placement documentation"): > I think it is. Actually, it was you that suggested turning the code into > that... :-P > > It's this thing I'm trying to document: > > if (libxl_defbool_val(info->numa_placement)) { > int rc; > > if (!libxl_bitmap_is_full(&info->cpumap)) { > LOG(ERROR, "Can run NUMA placement only if no vcpu " > "affinity is specified"); > return ERROR_INVAL; > } > > rc = numa_place_domain(gc, domid, info); > if (rc) > return rc; > } > > Am I missing something? No. I'm conflating cpupools and vcpu affinity. Ian.