Re: [Xen-devel] [PATCH v4] xen: rtds: only tickle non-already tickled CPUs

2017-08-02 Thread Dario Faggioli
On Tue, 2017-08-01 at 15:24 -0400, Meng Xu wrote: > The initial discussion of this patch can be found at > https://lists.xenproject.org/archives/html/xen-devel/2017-02/msg02857 > .html > > Changes in v4: > 1) Take Dario's suggestions: >    Search the new->cpu first for the cpu to tickle. >    This

[Xen-devel] [PATCH v4] xen: rtds: only tickle non-already tickled CPUs

2017-08-01 Thread Meng Xu
When more than one idle VCPUs that have the same PCPU as their previous running core invoke runq_tickle(), they will tickle the same PCPU. The tickled PCPU will only pick at most one VCPU, i.e., the highest-priority one, to execute. The other VCPUs will not be scheduled for a period, even when ther