Re: [Xen-devel] [PATCH v2 08/10] xen: credit2: don't miss accounting while doing a credit reset.

2017-02-15 Thread George Dunlap
On Thu, Feb 9, 2017 at 1:59 PM, Dario Faggioli wrote: > A credit reset basically means going through all the > vCPUs of a runqueue and altering their credits, as a > consequence of a 'scheduling epoch' having come to an > end. > > Blocked or runnable vCPUs are fine, all the credits > they've spent

[Xen-devel] [PATCH v2 08/10] xen: credit2: don't miss accounting while doing a credit reset.

2017-02-09 Thread Dario Faggioli
A credit reset basically means going through all the vCPUs of a runqueue and altering their credits, as a consequence of a 'scheduling epoch' having come to an end. Blocked or runnable vCPUs are fine, all the credits they've spent running so far have been accounted to them when they were scheduled