Re: [Xen-devel] [PATCH 3/5] xen: sched-null: support soft-affinity

2017-07-25 Thread George Dunlap
On Thu, Jun 29, 2017 at 1:56 PM, Dario Faggioli wrote: > The null scheduler does not really use hard-affinity for > scheduling, it uses it for 'placement', i.e., for deciding > to what pCPU to statically assign a vCPU. > > Let's use soft-affinity in the same way, of course with the > difference th

[Xen-devel] [PATCH 3/5] xen: sched-null: support soft-affinity

2017-06-29 Thread Dario Faggioli
The null scheduler does not really use hard-affinity for scheduling, it uses it for 'placement', i.e., for deciding to what pCPU to statically assign a vCPU. Let's use soft-affinity in the same way, of course with the difference that, if there's no free pCPU within the vCPU's soft-affinity, we go