Re: [Xen-devel] [for-4.8 PATCH v2] xen: credit2: fix wrong assert in runq_tickle().

2016-11-22 Thread Wei Liu
On Tue, Nov 22, 2016 at 01:51:02PM +0100, Dario Faggioli wrote: > Since b047f888d489 ("xen: sched: leave CPUs doing tasklet > work alone") a cpu executing a tasklet, is not marked as > idle. > > Therefore: > - avoid asserting that we can't find the idle vcpu running >on one of them, which is

[Xen-devel] [for-4.8 PATCH v2] xen: credit2: fix wrong assert in runq_tickle().

2016-11-22 Thread Dario Faggioli
Since b047f888d489 ("xen: sched: leave CPUs doing tasklet work alone") a cpu executing a tasklet, is not marked as idle. Therefore: - avoid asserting that we can't find the idle vcpu running on one of them, which is not true, - avoid triggering a preemption on them (and add an assert check