Re: [Xen-devel] [PATCH v2 24/48] xen: switch from for_each_vcpu() to for_each_sched_unit()

2019-09-12 Thread Juergen Gross
On 12.09.19 16:40, Jan Beulich wrote: On 12.09.2019 16:02, Juergen Gross wrote: On 09.09.19 17:14, Jan Beulich wrote: On 09.08.2019 16:58, Juergen Gross wrote: @@ -1002,17 +1032,17 @@ int cpu_disable_scheduler(unsigned int cpu) * * the scheduler will always find a suitable sol

Re: [Xen-devel] [PATCH v2 24/48] xen: switch from for_each_vcpu() to for_each_sched_unit()

2019-09-12 Thread Jan Beulich
On 12.09.2019 16:02, Juergen Gross wrote: > On 09.09.19 17:14, Jan Beulich wrote: >> On 09.08.2019 16:58, Juergen Gross wrote: >>> @@ -1002,17 +1032,17 @@ int cpu_disable_scheduler(unsigned int cpu) >>>* * the scheduler will always find a suitable solution, or >>>*

Re: [Xen-devel] [PATCH v2 24/48] xen: switch from for_each_vcpu() to for_each_sched_unit()

2019-09-12 Thread Juergen Gross
On 09.09.19 17:14, Jan Beulich wrote: On 09.08.2019 16:58, Juergen Gross wrote: @@ -504,22 +511,21 @@ int sched_move_domain(struct domain *d, struct cpupool *c) if ( IS_ERR(domdata) ) return PTR_ERR(domdata); -vcpu_priv = xzalloc_array(void *, d->max_vcpus); -if ( vcp

Re: [Xen-devel] [PATCH v2 24/48] xen: switch from for_each_vcpu() to for_each_sched_unit()

2019-09-09 Thread Jan Beulich
On 09.08.2019 16:58, Juergen Gross wrote: > @@ -504,22 +511,21 @@ int sched_move_domain(struct domain *d, struct cpupool > *c) > if ( IS_ERR(domdata) ) > return PTR_ERR(domdata); > > -vcpu_priv = xzalloc_array(void *, d->max_vcpus); > -if ( vcpu_priv == NULL ) > +unit_p