Re: [Xen-devel] [PATCH v2 03/10] xen: credit2: make tickling more deterministic

2016-09-30 Thread George Dunlap
On 30/09/16 03:53, Dario Faggioli wrote: > Right now, the following scenario can occurr: > - upon vcpu v wakeup, v itself is put in the runqueue, >and pcpu X is tickled; > - pcpu Y schedules (for whatever reason), sees v in >the runqueue and picks it up. > > This may seem ok (or even a g

[Xen-devel] [PATCH v2 03/10] xen: credit2: make tickling more deterministic

2016-09-29 Thread Dario Faggioli
Right now, the following scenario can occurr: - upon vcpu v wakeup, v itself is put in the runqueue, and pcpu X is tickled; - pcpu Y schedules (for whatever reason), sees v in the runqueue and picks it up. This may seem ok (or even a good thing), but it's not. In fact, if runq_tickle() dec