Displaying 1 result from an estimated 1 matches for "rt_credit".
2013 Mar 08
2
[PATCH v2 1/2] credit2: Fix erronous ASSERT
...* reset_credit(). So at this point snext->credit must be greater
- * than 0.
- *
- * 2. snext''s credit must be greater than or equal to anyone else
- * in the queue, so snext->credit - swait->credit must be greater
- * than or equal to 0.
- */
- ASSERT(rt_credit >= 0);
-
- /* FIXME: See if we can eliminate this conversion if we know time
- * will be outside (MIN,MAX). Probably requires pre-calculating
- * credit values of MIN,MAX per vcpu, since each vcpu burns credit
- * at a different rate. */
- time = c2t(rqd, rt_credit, snext);
-...