All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: keir@xen.org, Andrew.Cooper3@citrix.com,
	George.Dunlap@citrix.com, xen-devel@lists.xen.org,
	JBeulich@suse.com, Ian.Jackson@citrix.com
Subject: Re: [v7 PATCH 07/10] libxl: get and set soft affinity
Date: Wed, 11 Jun 2014 09:13:04 +0200	[thread overview]
Message-ID: <1402470784.16827.66.camel@Solace> (raw)
In-Reply-To: <1402408955.1250.138.camel@kazak.uk.xensource.com>


[-- Attachment #1.1: Type: text/plain, Size: 1312 bytes --]

On mar, 2014-06-10 at 15:02 +0100, Ian Campbell wrote:
> On Tue, 2014-06-10 at 02:45 +0200, Dario Faggioli wrote:
> > Make space for two new cpumap-s, one in vcpu_info (for getting
> > soft affinity) and build_info (for setting it) and amend the
> > API for setting vCPU affinity.
> > 
> > libxl_set_vcpuaffinity() now takes two cpumaps, one for hard
> > and one for soft affinity (LIBXL_API_VERSION is exploited to
> > retain source level backword compatibility). Either of the
> > two cpumap can be NULL, in which case, only the affinity
> > corresponding to the non-NULL cpumap will be affected.
> > 

> > Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
> > Reviewed-by: George Dunlap <george.dunlap@eu.citrix.com>
> 
> This relies indirectly on a patch of Wei's to add 0x040500 to the list
> of valid versions in libxl.h, but other than that.
> 
Right! Sorry I missed it. :-P

BTW, since Wei's series is probably taking a bit more time, I'm adding
that myself in v8 of this patch.

Thanks and Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2014-06-11  7:13 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-10  0:44 [v7 PATCH 00/10] Implement vcpu soft affinity for credit1 Dario Faggioli
2014-06-10  0:44 ` [v7 PATCH 01/10] xen: sched: rename v->cpu_affinity into v->cpu_hard_affinity Dario Faggioli
2014-06-10  0:44 ` [v7 PATCH 02/10] xen: sched: introduce soft-affinity and use it instead d->node-affinity Dario Faggioli
2014-06-10 11:26   ` George Dunlap
2014-06-10  0:44 ` [v7 PATCH 03/10] xen: derive NUMA node affinity from hard and soft CPU affinity Dario Faggioli
2014-06-10 14:53   ` George Dunlap
2014-06-10 15:20     ` Dario Faggioli
2014-06-10 15:33       ` George Dunlap
2014-06-10  0:44 ` [v7 PATCH 04/10] xen/libxc: sched: DOMCTL_*vcpuaffinity works with hard and soft affinity Dario Faggioli
2014-06-10  0:45 ` [v7 PATCH 05/10] libxc/libxl: bump library SONAMEs Dario Faggioli
2014-06-10 13:46   ` Ian Campbell
2014-06-10  0:45 ` [v7 PATCH 06/10] libxc: get and set soft and hard affinity Dario Faggioli
2014-06-10  0:45 ` [v7 PATCH 07/10] libxl: get and set soft affinity Dario Faggioli
2014-06-10 14:02   ` Ian Campbell
2014-06-11  7:13     ` Dario Faggioli [this message]
2014-06-10 15:39   ` George Dunlap
2014-06-10 15:44     ` Ian Campbell
2014-06-10  0:45 ` [v7 PATCH 08/10] xl: enable getting and setting soft Dario Faggioli
2014-06-10 14:10   ` Ian Campbell
2014-06-10 15:10     ` Dario Faggioli
2014-06-10  0:45 ` [v7 PATCH 09/10] xl: enable for specifying soft-affinity in the config file Dario Faggioli
2014-06-10 14:38   ` Ian Campbell
2014-06-10 15:36     ` Dario Faggioli
2014-06-10 15:46       ` Ian Campbell
2014-06-10  0:45 ` [v7 PATCH 10/10] libxl: automatic NUMA placement affects soft affinity Dario Faggioli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1402470784.16827.66.camel@Solace \
    --to=dario.faggioli@citrix.com \
    --cc=Andrew.Cooper3@citrix.com \
    --cc=George.Dunlap@citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=keir@xen.org \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.