From: Dario Faggioli <dario.faggioli@citrix.com>
To: Juergen Gross <jgross@suse.com>,
anshulmakkar <anshulmakkar@gmail.com>,
xen-devel@lists.xen.org
Cc: sstabellini@kernel.org, wei.liu2@citrix.com,
George.Dunlap@eu.citrix.com, andrew.cooper3@citrix.com,
ian.jackson@eu.citrix.com, marmarek@invisiblethingslab.com,
robert.vanvossen@dornerworks.com, tim@xen.org,
josh.whitehead@dornerworks.com, mengxu@cis.upenn.edu,
jbeulich@suse.com
Subject: Re: [PATCH 1/3] credit2: libxc related changes to add support for runqueue per cpupool.
Date: Thu, 14 Sep 2017 14:58:56 +0200 [thread overview]
Message-ID: <1505393936.13935.15.camel@citrix.com> (raw)
In-Reply-To: <47f9a7d0-7993-300c-8618-a5352f8b97a3@suse.com>
[-- Attachment #1.1: Type: text/plain, Size: 1609 bytes --]
On Thu, 2017-09-14 at 08:42 +0200, Juergen Gross wrote:
> > --- a/tools/libxc/include/xenctrl.h
> > +++ b/tools/libxc/include/xenctrl.h
> > @@ -1077,17 +1077,21 @@ typedef struct xc_cpupoolinfo {
> >
> > #define XC_CPUPOOL_POOLID_ANY 0xFFFFFFFF
> >
> > +typedef xen_sysctl_sched_param_t xc_schedparam_t;
> > +
> > /**
> > * Create a new cpupool.
> > *
> > * @parm xc_handle a handle to an open hypervisor interface
> > * @parm ppoolid pointer to the new cpupool id (in/out)
> > * @parm sched_id id of scheduler to use for pool
> > + * @parm sched_param parameter of the scheduler of the cpupool eg.
> > runq for credit2
>
> I would drop "eg. runq for credit2"
>
+1
> > --- a/tools/python/xen/lowlevel/xc/xc.c
> > +++ b/tools/python/xen/lowlevel/xc/xc.c
> > @@ -1704,6 +1704,7 @@ static PyObject *pyxc_cpupool_create(XcObject
> > *self,
> > PyObject *kwds)
> > {
> > uint32_t cpupool = XC_CPUPOOL_POOLID_ANY, sched =
> > XEN_SCHEDULER_CREDIT;
> > + xc_schedparam_t param;
> >
> > static char *kwd_list[] = { "pool", "sched", NULL };
>
> [..]
> Another possibility would be to drop the cpupool python bindings
> completely (which I would prefer, TBH).
>
+1
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: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 127 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-09-14 12:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-12 0:45 implement runqueue per cpupool anshulmakkar
2017-09-12 0:45 ` [PATCH 1/3] credit2: libxc related changes to add support for " anshulmakkar
2017-09-14 6:42 ` Juergen Gross
2017-09-14 12:58 ` Dario Faggioli [this message]
2019-01-17 16:10 ` anshul
2019-01-17 16:17 ` Juergen Gross
2017-09-14 13:28 ` Dario Faggioli
2017-09-12 0:45 ` [PATCH 2/3] credit2: libxl " anshulmakkar
2017-09-14 6:37 ` Juergen Gross
2017-11-16 21:10 ` Anshul Makkar
2017-11-17 6:58 ` Juergen Gross
2017-09-12 0:45 ` [PATCH 3/3] credit2: xen " anshulmakkar
2017-09-14 6:24 ` Juergen Gross
2017-09-14 10:03 ` Jan Beulich
2017-09-14 14:08 ` Dario Faggioli
2017-09-14 4:21 ` implement " Juergen Gross
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=1505393936.13935.15.camel@citrix.com \
--to=dario.faggioli@citrix.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=anshulmakkar@gmail.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=jgross@suse.com \
--cc=josh.whitehead@dornerworks.com \
--cc=marmarek@invisiblethingslab.com \
--cc=mengxu@cis.upenn.edu \
--cc=robert.vanvossen@dornerworks.com \
--cc=sstabellini@kernel.org \
--cc=tim@xen.org \
--cc=wei.liu2@citrix.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).