Re: [Xen-devel] [PATCH 4/7] xen: sched: get rid of the per domain vCPU list in RTDS

2015-10-08 Thread George Dunlap
On 08/10/15 13:52, Dario Faggioli wrote: > As, curently, there is no reason for bothering having > it and keeping it updated. > > In fact, it is only used for dumping and changing > vCPUs parameters, but that can be achieved easily with > for_each_vcpu. > > Signed-off-by: Dario Faggioli With An

Re: [Xen-devel] [PATCH 4/7] xen: sched: get rid of the per domain vCPU list in RTDS

2015-10-08 Thread Andrew Cooper
On 08/10/15 13:52, Dario Faggioli wrote: > @@ -319,14 +317,16 @@ rt_dump(const struct scheduler *ops) > } > > printk("Domain info:\n"); > -list_for_each( iter_sdom, &prv->sdom ) > +list_for_each( iter, &prv->sdom ) > { > -sdom = list_entry(iter_sdom, struct rt_dom,

[Xen-devel] [PATCH 4/7] xen: sched: get rid of the per domain vCPU list in RTDS

2015-10-08 Thread Dario Faggioli
As, curently, there is no reason for bothering having it and keeping it updated. In fact, it is only used for dumping and changing vCPUs parameters, but that can be achieved easily with for_each_vcpu. Signed-off-by: Dario Faggioli --- Cc: George Dunlap Cc: Meng Xu --- xen/common/sched_rt.c |