Re: [Xen-devel] [PATCH RFC V2 24/45] xen: let vcpu_create() select processor

2019-05-16 Thread Jan Beulich
>>> On 16.05.19 at 14:46, wrote: > On 16/05/2019 14:20, Jan Beulich wrote: > On 06.05.19 at 08:56, wrote: >>> --- a/xen/common/schedule.c >>> +++ b/xen/common/schedule.c >>> @@ -314,14 +314,42 @@ static struct sched_item *sched_alloc_item(struct >>> vcpu *v) >>> return NULL; >>> } >>>

Re: [Xen-devel] [PATCH RFC V2 24/45] xen: let vcpu_create() select processor

2019-05-16 Thread Juergen Gross
On 16/05/2019 14:20, Jan Beulich wrote: On 06.05.19 at 08:56, wrote: >> --- a/xen/common/schedule.c >> +++ b/xen/common/schedule.c >> @@ -314,14 +314,42 @@ static struct sched_item *sched_alloc_item(struct vcpu >> *v) >> return NULL; >> } >> >> -int sched_init_vcpu(struct vcpu *v,

Re: [Xen-devel] [PATCH RFC V2 24/45] xen: let vcpu_create() select processor

2019-05-16 Thread Jan Beulich
>>> On 06.05.19 at 08:56, wrote: > --- a/xen/common/schedule.c > +++ b/xen/common/schedule.c > @@ -314,14 +314,42 @@ static struct sched_item *sched_alloc_item(struct vcpu > *v) > return NULL; > } > > -int sched_init_vcpu(struct vcpu *v, unsigned int processor) > +static unsigned int

[Xen-devel] [PATCH RFC V2 24/45] xen: let vcpu_create() select processor

2019-05-06 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