search for: csched_min_credit_prefer_sa

Displaying 1 result from an estimated 1 matches for "csched_min_credit_prefer_sa".

2013 Dec 14
0
[PATCH v2] xen: sched: introduce hard and soft affinity in credit 2 scheduler
...weight VMs can only run for 10ms * before a reset event. */ #define CSCHED_CREDIT_INIT MILLISECS(10) +/* Minimum amount of credit needed for a vcpu with soft + 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;...