From: Ian Campbell <ian.campbell@citrix.com>
To: Chong Li <lichong659@gmail.com>
Cc: Chong Li <chong.li@wustl.edu>, Wei Liu <wei.liu2@citrix.com>,
Sisu Xi <xisisu@gmail.com>,
George Dunlap <george.dunlap@eu.citrix.com>,
"dario.faggioli" <dario.faggioli@citrix.com>,
xen-devel <xen-devel@lists.xen.org>,
Meng Xu <mengxu@cis.upenn.edu>,
Dagaen Golomb <dgolomb@seas.upenn.edu>
Subject: Re: [PATCH v3 for Xen 4.6 2/4] libxc: enable per-VCPU parameter settings for RTDS scheduler
Date: Tue, 30 Jun 2015 16:32:34 +0100 [thread overview]
Message-ID: <1435678354.21469.217.camel@citrix.com> (raw)
In-Reply-To: <CAGHO-ip5rX_fx3rF2gLno7ghf09Pd-twJmvhHSRb=z6_OPNU6w@mail.gmail.com>
On Tue, 2015-06-30 at 10:18 -0500, Chong Li wrote:
> On Tue, Jun 30, 2015 at 7:22 AM, Ian Campbell <ian.campbell@citrix.com> wrote:
> > On Sun, 2015-06-28 at 21:44 -0500, Chong Li wrote:
> >> Add xc_sched_rtds_vcpu_get/set functions to interact with Xen to get/set a domain's
> >> per-VCPU parameters.
> >>
> >> Changes on PATCH v2:
> >>
> >> 1) Minor modifications due to the change of struct xen_domctl_scheduler_op.
> >
> > This intra-version changelog should go after the -- so it doesn't appear
> > in the final commit message.
>
> Ok, I see.
> >
> >> diff --git a/tools/libxc/xc_csched.c b/tools/libxc/xc_csched.c
> >> index 390c645..5a2bdf4 100644
> >> --- a/tools/libxc/xc_csched.c
> >> +++ b/tools/libxc/xc_csched.c
> >> @@ -36,7 +36,7 @@ xc_sched_credit_domain_set(
> >> domctl.domain = (domid_t) domid;
> >> domctl.u.scheduler_op.sched_id = XEN_SCHEDULER_CREDIT;
> >> domctl.u.scheduler_op.cmd = XEN_DOMCTL_SCHEDOP_putinfo;
> >> - domctl.u.scheduler_op.u.credit = *sdom;
> >> + domctl.u.scheduler_op.u.d.credit = *sdom;
> >
> > I don't see any change to any types in this series, which makes me
> > suspect it is in another patch and that bisectability is therefore not
> > maintained through the series. Each patch in the series needs to build
> > when they are applied one by one.
> >
> > This probably means that at to at least some degree hypercall interface
> > changes need to be done in the same time as the libxc adjustments. You
> > can still keep the _new_ functionality in a separate patch of course (if
> > that makes sense in this case).
>
> Because both per-domain and per-vcpu parameters are now unioned in
> struct xen_domctl_scheduler_op, we need to specify per-domain or
> per-vcpu when using domctl.u.scheduler_op.u (.d means per-domain, .v
> means per-vcpu). This change also happens to the XEN_DOMCTL_SCHEDOP_*
> handlers (of all schedulers), where the domctl.u.scheduler_op.u.* is
> passed to.
I understand the interface change, but the problem is that the interface
change and the change ot the users of that interface seem to be in
different patches, which breaks bisectability.
Does this series compile and work at every step?
i.e. the following combinations of patches from this 4 patch series all
need to build and work successfully:
Patch #1
Patch #1+#2
Patch #1+#2+#3
Patch #1+#2+#3+#4
Is that the case?
Ian.
next prev parent reply other threads:[~2015-06-30 15:32 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-29 2:44 [PATCH v3 for Xen 4.6 0/4] Enable per-VCPU parameter settings for RTDS scheduler Chong Li
2015-06-29 2:44 ` [PATCH v3 for Xen 4.6 1/4] xen: enable " Chong Li
2015-07-07 8:59 ` Jan Beulich
2015-07-07 14:39 ` Dario Faggioli
2015-07-08 6:06 ` Meng Xu
2015-07-08 8:33 ` Dario Faggioli
2015-07-09 1:16 ` Meng Xu
2015-07-10 9:51 ` Dario Faggioli
2015-07-07 14:55 ` Dario Faggioli
2015-07-07 16:09 ` Jan Beulich
2015-07-07 15:33 ` Chong Li
2015-07-07 15:41 ` Jan Beulich
2015-07-07 15:46 ` Dario Faggioli
2015-07-07 14:51 ` Dario Faggioli
2015-06-29 2:44 ` [PATCH v3 for Xen 4.6 2/4] libxc: " Chong Li
2015-06-30 12:22 ` Ian Campbell
2015-06-30 15:18 ` Chong Li
2015-06-30 15:32 ` Ian Campbell [this message]
2015-06-30 15:57 ` Chong Li
2015-06-30 16:04 ` Ian Campbell
2015-06-29 2:44 ` [PATCH v3 for Xen 4.6 3/4] libxl: " Chong Li
2015-06-30 12:26 ` Ian Campbell
2015-06-30 15:42 ` Chong Li
2015-06-30 15:57 ` Ian Campbell
2015-06-30 16:10 ` Chong Li
2015-06-30 16:19 ` Ian Campbell
2015-06-30 16:53 ` Chong Li
2015-07-01 0:54 ` Meng Xu
2015-07-01 8:48 ` Ian Campbell
2015-07-01 12:50 ` Dario Faggioli
2015-07-01 16:59 ` Chong Li
2015-07-07 16:23 ` Dario Faggioli
2015-07-08 14:35 ` Chong Li
2015-07-08 14:45 ` Dario Faggioli
2015-06-29 2:44 ` [PATCH v3 for Xen 4.6 4/4] xl: " Chong Li
2015-07-07 15:34 ` Dario Faggioli
2015-07-07 16:01 ` Chong Li
2015-07-07 15:16 ` [PATCH v3 for Xen 4.6 0/4] Enable " Dario Faggioli
2015-07-07 16:11 ` Chong Li
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=1435678354.21469.217.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=chong.li@wustl.edu \
--cc=dario.faggioli@citrix.com \
--cc=dgolomb@seas.upenn.edu \
--cc=george.dunlap@eu.citrix.com \
--cc=lichong659@gmail.com \
--cc=mengxu@cis.upenn.edu \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.org \
--cc=xisisu@gmail.com \
/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.