WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel][PATCH] libxc bitmap utils and vcpu-affinity

To: Dulloor <dulloor@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel][PATCH] libxc bitmap utils and vcpu-affinity
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 22 Mar 2010 07:30:13 +0000
Cc:
Delivery-date: Mon, 22 Mar 2010 00:31:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <940bcfd21003212033t3c3bf074h663337b56dd5954e@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcrJcI/ao2y58weIQjmv5/OCLF7GnAAIPKhp
Thread-topic: [Xen-devel][PATCH] libxc bitmap utils and vcpu-affinity
User-agent: Microsoft-Entourage/12.23.0.091001
On 22/03/2010 03:33, "Dulloor" <dulloor@xxxxxxxxx> 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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel