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 09/10] xl: enable for specifying soft-affinity in the config file
Date: Tue, 10 Jun 2014 17:36:18 +0200 [thread overview]
Message-ID: <1402414578.16827.46.camel@Solace> (raw)
In-Reply-To: <1402411124.20641.4.camel@kazak.uk.xensource.com>
[-- Attachment #1.1: Type: text/plain, Size: 1544 bytes --]
On mar, 2014-06-10 at 15:38 +0100, Ian Campbell wrote:
> On Tue, 2014-06-10 at 02:45 +0200, Dario Faggioli wrote:
> > in a similar way to how hard-affinity is specified (i.e.,
> > exactly how plain vcpu-affinity was being specified before
> > this change).
>
> It seems that the bulk of this is just code motion, is that right?
>
I'd call it more refactoring than motion, as what I'm doing is actually
adding a config switch "cpus_soft=", but I'm generalizing the code so
that it can be used to deal with both the new and the already existing
one ("cpus=")... That's why I'm not advertising it as code motion. The
refactoring was requested during v2 and v3 reviews.
Also, this patch is the one that will clash the most with Wei's series'.
Actually, most of what is being refactored will be either killed or
moved to libxl. (I'm just mentioning this, as we've already agreed with
Wei that we will cooperate on taking care of conflicts properly, basing,
of course, on which series goes in first).
> > + if (!strcmp(what, "cpus")) {
>
> Elsewhere you use an "int soft", which was the correct choice (if not a
> bool_t).
>
> If that is changed: Acked-by: Ian Campbell <ian.campbell@citrix.com>
>
Ok, I'll go for it.
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
next prev parent reply other threads:[~2014-06-10 15:36 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
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 [this message]
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=1402414578.16827.46.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.