From: anshul <anshulmakkar@gmail.com>
To: Dario Faggioli <dario.faggioli@citrix.com>,
Juergen Gross <jgross@suse.com>,
xen-devel@lists.xen.org
Cc: George.Dunlap@eu.citrix.com, wei.liu2@citrix.com,
ian.jackson@eu.citrix.com, jbeulich@suse.com
Subject: Re: [PATCH 1/3] credit2: libxc related changes to add support for runqueue per cpupool.
Date: Thu, 17 Jan 2019 16:10:39 +0000 [thread overview]
Message-ID: <c329b55e-b9f3-5837-6ec4-08f9b8970f15@gmail.com> (raw)
In-Reply-To: <1505393936.13935.15.camel@citrix.com>
On 14/09/2017 13:58, Dario Faggioli wrote:
> 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
Juergen, please can you clarify on this. Do you mean that I should
remove the
complete cpupool handling from python APIs i.e remove all of pyxc_cpupool_*
APIs .
Also, it was some time back when I floated this patch. Does the
requirement to remove cpupool python bindings
still holds.
>
> Regards,
> Dario
Anshul
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2019-01-17 16:10 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
2019-01-17 16:10 ` anshul [this message]
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=c329b55e-b9f3-5837-6ec4-08f9b8970f15@gmail.com \
--to=anshulmakkar@gmail.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=dario.faggioli@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=jgross@suse.com \
--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).