Re: [Xen-devel] [PATCH 08/19] xen: credit2: when tickling, check idle cpus first

2016-07-06 Thread George Dunlap
On Sat, Jun 18, 2016 at 12:12 AM, Dario Faggioli wrote: > If there are idle pCPUs, it's always better to try to > "ship" the new vCPU there, instead than letting it > preempting on a currently busy one. > > This commit also adds a cpumask_test_or_cycle() helper > function, to make it easier to cod

[Xen-devel] [PATCH 08/19] xen: credit2: when tickling, check idle cpus first

2016-06-17 Thread Dario Faggioli
If there are idle pCPUs, it's always better to try to "ship" the new vCPU there, instead than letting it preempting on a currently busy one. This commit also adds a cpumask_test_or_cycle() helper function, to make it easier to code the preference for the pCPU where the vCPU was running before. Si