Displaying 2 results from an estimated 2 matches for "csched_min_tim".
Did you mean:
csched_min_timer
2013 Mar 08
2
[PATCH v2 1/2] credit2: Fix erronous ASSERT
...iminate 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);
-
- /* 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...
2013 Dec 14
0
[PATCH v2] xen: sched: introduce hard and soft affinity in credit 2 scheduler
...+ affinity for a given cpu to be picked from the run queue
+ over a vcpu with more credit but only hard affinity. */
+#define CSCHED_MIN_CREDIT_PREFER_SA MILLISECS(5)
/* Carryover: How much "extra" credit may be carried over after
* a reset. */
#define CSCHED_CARRYOVER_MAX CSCHED_MIN_TIMER
@@ -1615,6 +1619,7 @@ runq_candidate(struct csched_runqueue_data *rqd,
{
struct list_head *iter;
struct csched_vcpu *snext = NULL;
+ bool_t found_snext_w_hard_affinity = 0;
/* Default to current if runnable, idle otherwise */
if ( vcpu_runnable(scurr->vcpu) )
@@ -1626...