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

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel][PATCH] libxc bitmap utils and vcpu-affinity
From: Dulloor <dulloor@xxxxxxxxx>
Date: Sun, 21 Mar 2010 23:33:09 -0400
Delivery-date: Sun, 21 Mar 2010 20:34:12 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=0mrpq3wKPU8GjdD4HkpC2RhEeuLkxGEf5V/LfNJSBuA=; b=sO1xjFkxy4Ya78Nu8nBor/K6Jux5jD4D09E1hUej2A1h3Pr4iNwX0pFd0UmKYuIYGp KhmkDJJV4UsR2da4kOZFQOD4Hgm601bUDyxmALXV0RAiIsZnU8McdD8q/DC+teDCF4MM vzcpUXxapUZLTqfv//gFbHhrX2gSD8DxBZPSc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fnzNS7cpWxppei/IuMBSoF97rH5FYjghgXFX2q6nA4xvTgXU7JSdhaU6lys90PO+cm J/5vNGUTZf+PUWSsxdtHDjwhtBhfhE8NLnrZYsehUn/K0rallpPLjmi6MGdOQyN3crns 5QSaGhvgFykySs82XzRWPBn30NRRVitnKX40g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
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.

-dulloor

Attachment: xc-vcpu-affinity.patch
Description: Text Data

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