From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] libxc bitmap utils and vcpu-affinity Date: Mon, 22 Mar 2010 07:30:13 +0000 Message-ID: References: <940bcfd21003212033t3c3bf074h663337b56dd5954e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <940bcfd21003212033t3c3bf074h663337b56dd5954e@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dulloor , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 22/03/2010 03:33, "Dulloor" wrote: > This patch adds : > > * A byte-based cpumask type(xenctl_cpumask) for setting vcpu-affinity > as well as numa-node-affinity, etc in libxc. > > * Add common bitmap utils to libxc, which can be used both for > xenctl_cpumask (and with small changes for xenctl_cpumap, if desired), > so that we can do common operations on cpumask easily. > > As opposed to xenctl_cpumap, xenctl_cpumask is a static structure > (just 4 bytes larger for 128 cpus), but keeps the interface/code > cleaner. The domctl_interface version keeps the size of xenctl_cpumask > consistent between xen and xen-tools. I'm missing the motivation for this. It sounds less good than what we have already. -- Keir