Re: [Xen-devel] [PATCH v2] xen: idle_loop: either deal with tasklets or go idle

2017-06-20 Thread Stefano Stabellini
On Tue, 20 Jun 2017, Dario Faggioli wrote: > In fact, there are two kinds of tasklets: vCPU and > softirq context. When we want to do vCPU context tasklet > work, we force the idle vCPU (of a particular pCPU) into > execution, and run it from there. > > This means there are two possible reasons fo

Re: [Xen-devel] [PATCH v2] xen: idle_loop: either deal with tasklets or go idle

2017-06-20 Thread Jan Beulich
>>> On 20.06.17 at 15:00, wrote: > In fact, there are two kinds of tasklets: vCPU and > softirq context. When we want to do vCPU context tasklet > work, we force the idle vCPU (of a particular pCPU) into > execution, and run it from there. > > This means there are two possible reasons for choosin

[Xen-devel] [PATCH v2] xen: idle_loop: either deal with tasklets or go idle

2017-06-20 Thread Dario Faggioli
In fact, there are two kinds of tasklets: vCPU and softirq context. When we want to do vCPU context tasklet work, we force the idle vCPU (of a particular pCPU) into execution, and run it from there. This means there are two possible reasons for choosing to run the idle vCPU: 1) we want a pCPU to g