Re: [Xen-devel] [PATCH 2/3] xen: sched_null: support for hard affinity

2017-03-21 Thread Dario Faggioli
On Mon, 2017-03-20 at 16:46 -0700, Stefano Stabellini wrote: > On Fri, 17 Mar 2017, Dario Faggioli wrote: > > > > --- a/xen/common/sched_null.c > > +++ b/xen/common/sched_null.c > > @@ -117,6 +117,14 @@ static inline struct null_dom *null_dom(const > > struct domain *d) > >  return d->sched_pr

Re: [Xen-devel] [PATCH 2/3] xen: sched_null: support for hard affinity

2017-03-20 Thread Stefano Stabellini
On Fri, 17 Mar 2017, Dario Faggioli wrote: > As a (rudimental) way of directing and affecting the > placement logic implemented by the scheduler, support > vCPU hard affinity. > > Basically, a vCPU will now be assigned only to a pCPU > that is part of its own hard affinity. If such pCPU(s) > is (a

[Xen-devel] [PATCH 2/3] xen: sched_null: support for hard affinity

2017-03-17 Thread Dario Faggioli
As a (rudimental) way of directing and affecting the placement logic implemented by the scheduler, support vCPU hard affinity. Basically, a vCPU will now be assigned only to a pCPU that is part of its own hard affinity. If such pCPU(s) is (are) busy, the vCPU will wait, like it happens when there