Re: [Xen-devel] [PATCH v2 20/48] xen: let vcpu_create() select processor

2019-09-11 Thread Dario Faggioli
On Wed, 2019-09-11 at 16:22 +0200, Juergen Gross wrote: > On 09.09.19 15:38, Jan Beulich wrote: > > On 09.08.2019 16:58, Juergen Gross wrote: > > > --- a/xen/common/schedule.c > > > +++ b/xen/common/schedule.c > > > @@ -368,14 +368,52 @@ static struct sched_unit > > > *sched_alloc_unit(struct vcpu

Re: [Xen-devel] [PATCH v2 20/48] xen: let vcpu_create() select processor

2019-09-11 Thread Juergen Gross
On 09.09.19 15:38, Jan Beulich wrote: On 09.08.2019 16:58, Juergen Gross wrote: --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -368,14 +368,52 @@ static struct sched_unit *sched_alloc_unit(struct vcpu *v) return NULL; } -int sched_init_vcpu(struct vcpu *v, unsigned int pro

Re: [Xen-devel] [PATCH v2 20/48] xen: let vcpu_create() select processor

2019-09-09 Thread Jan Beulich
On 09.08.2019 16:58, Juergen Gross wrote: > --- a/xen/common/schedule.c > +++ b/xen/common/schedule.c > @@ -368,14 +368,52 @@ static struct sched_unit *sched_alloc_unit(struct vcpu > *v) > return NULL; > } > > -int sched_init_vcpu(struct vcpu *v, unsigned int processor) > +static unsigned

Re: [Xen-devel] [PATCH v2 20/48] xen: let vcpu_create() select processor

2019-08-23 Thread Julien Grall
Hi Juergen, On 09/08/2019 15:58, Juergen Gross wrote: Today there are two distinct scenarios for vcpu_create(): either for creation of idle-domain vcpus (vcpuid == processor) or for creation of "normal" domain vcpus (including dom0), where the caller selects the initial processor on a round-robi

[Xen-devel] [PATCH v2 20/48] xen: let vcpu_create() select processor

2019-08-09 Thread Juergen Gross
Today there are two distinct scenarios for vcpu_create(): either for creation of idle-domain vcpus (vcpuid == processor) or for creation of "normal" domain vcpus (including dom0), where the caller selects the initial processor on a round-robin scheme of the allowed processors (allowed being based o