Displaying 1 result from an estimated 1 matches for "csched_max_tim".
Did you mean:
csched_max_timer
2013 Mar 08
2
[PATCH v2 1/2] credit2: Fix erronous ASSERT
...;
-
- /* Check limits */
- if ( time < CSCHED_MIN_TIMER )
+ /* The next guy may actually have a higher credit, if we''ve tried to
+ * avoid migrating him from a different cpu. DTRT. */
+ if ( rt_credit <= 0 )
time = CSCHED_MIN_TIMER;
- else if ( time > CSCHED_MAX_TIMER )
- time = CSCHED_MAX_TIMER;
+ else
+ {
+ /* 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 di...