[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2] xen, credit2: Avoid extra c2t calcuation in csched_runtime



On Thu, Jan 24, 2013 at 5:03 PM, Jan Beulich <JBeulich@xxxxxxxx> wrote:
>>> On 24.01.13 at 17:51, George Dunlap <george.dunlap@xxxxxxxxxxxxx> wrote:
> +     * 2. snext must have the highest credit of anyone on the queue;
> +     * so snext->credit - swait->credit must be greater than 0.
> +     */
> +    ASSERT(rt_credit > 0);

And the two can't ever have equal credit?

Indeed they can... serves me right for whipping up a patch too quickly.

Standby for v3...

 -George
 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.