Re: [Xen-devel] [PATCH v2] xen/sched: fix credit2 smt idle handling

2019-03-29 Thread Dario Faggioli
On Thu, 2019-03-28 at 16:46 +0100, Juergen Gross wrote: > Credit2's smt_idle_mask_set() and smt_idle_mask_clear() are used to > identify idle cores where vcpus can be moved to. A core is thought to > be idle when all siblings are known to have the idle vcpu running on > them. > > Unfortunately the

[Xen-devel] [PATCH v2] xen/sched: fix credit2 smt idle handling

2019-03-28 Thread Juergen Gross
Credit2's smt_idle_mask_set() and smt_idle_mask_clear() are used to identify idle cores where vcpus can be moved to. A core is thought to be idle when all siblings are known to have the idle vcpu running on them. Unfortunately the information of a vcpu running on a cpu is per runqueue. So in case