[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Dulloor <dulloor@xxxxxxxxx>
  • Date: Sun, 21 Mar 2010 23:33:09 -0400
  • Delivery-date: Sun, 21 Mar 2010 20:34:12 -0700
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.