Re: [Xen-devel] [PATCH 3/4] xen: sched: improve checking soft-affinity

2017-10-05 Thread Dario Faggioli
On Wed, 2017-10-04 at 14:23 +0100, George Dunlap wrote: > On 09/15/2017 06:35 PM, Dario Faggioli wrote: > > > > diff --git a/xen/common/sched_credit.c b/xen/common/sched_credit.c > > index 3efbfc8..35d0c98 100644 > > --- a/xen/common/sched_credit.c > > +++ b/xen/common/sched_credit.c > > @@

Re: [Xen-devel] [PATCH 3/4] xen: sched: improve checking soft-affinity

2017-10-04 Thread George Dunlap
On 09/15/2017 06:35 PM, Dario Faggioli wrote: > Whether or not a vCPU has a soft-affinity which is > effective, i.e., with the power of actually affecting > the scheduling of the vCPU itself, happens in an > helper function, called has_soft_affinity(). > > Such function takes a custom cpumask as

[Xen-devel] [PATCH 3/4] xen: sched: improve checking soft-affinity

2017-09-15 Thread Dario Faggioli
Whether or not a vCPU has a soft-affinity which is effective, i.e., with the power of actually affecting the scheduling of the vCPU itself, happens in an helper function, called has_soft_affinity(). Such function takes a custom cpumask as its third parameter, for better flexibility, but that mask