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: Jan Beulich <JBeulich@xxxxxxxxxx>, Dulloor <dulloor@xxxxxxxxx>
Subject: Re: [Xen-devel][PATCH] libxc bitmap utils and vcpu-affinity
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 23 Mar 2010 11:05:27 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 23 Mar 2010 04:06:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BA8A1BC0200007800036662@xxxxxxxxxxxxxxxxxx>
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: AcrKcT0b3YdBxrPtRKGRbiet//Xr2AAB4Ehq
Thread-topic: [Xen-devel][PATCH] libxc bitmap utils and vcpu-affinity
User-agent: Microsoft-Entourage/12.23.0.091001
On 23/03/2010 10:10, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:

>>>> Dulloor <dulloor@xxxxxxxxx> 22.03.10 18:44 >>>
>> Motivation for using xenctl_cpumask in Xen interfaces :
>> - xenctl_cpumap is just 4 bytes smaller than static xenctl_cpumask for
>> 128 cpus (128 would be good for quite some time). However, the new
> 
> I don't buy this (we're already building for 256 CPUs, looking forward
> to further bump this in the not too distant future), and I'm generally
> opposed to introducing hard coded limits in a public interface.

We should use xenctl_cpumask everywhere for specifying physical CPU bitmaps,
even into guest NUMA interfaces if appropriate. I don't really care if it is
a bit harder to use than a static bitmap.

 -- Keir



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