Displaying 3 results from an estimated 3 matches for "online_affin".
2013 Sep 17
1
[PATCH] xen: numa-sched: leave node-affinity alone if not in "auto" mode
...e changed, 9 insertions(+), 19 deletions(-)
diff --git a/xen/common/domain.c b/xen/common/domain.c
index 5999779..af31ab4 100644
--- a/xen/common/domain.c
+++ b/xen/common/domain.c
@@ -352,7 +352,6 @@ void domain_update_node_affinity(struct domain *d)
cpumask_var_t cpumask;
cpumask_var_t online_affinity;
const cpumask_t *online;
- nodemask_t nodemask = NODE_MASK_NONE;
struct vcpu *v;
unsigned int node;
@@ -374,28 +373,19 @@ void domain_update_node_affinity(struct domain *d)
cpumask_or(cpumask, cpumask, online_affinity);
}
+ /*
+ * If d->auto_node_af...
2007 Aug 30
0
[PATCH][Retry 1] 1/4: cpufreq/PowerNow! in Xen: Xen timer changes
...n) )
+ if ( is_idle_domain(d) || ((d->domain_id == 0) && ( opt_cpufreq || opt_dom0_vcpus_pin) ) )
v->cpu_affinity = cpumask_of_cpu(processor);
else
cpus_setall(v->cpu_affinity);
@@ -254,7 +256,7 @@ int vcpu_set_affinity(struct vcpu *v, cp
{
cpumask_t online_affinity;
- if ( (v->domain->domain_id == 0) && opt_dom0_vcpus_pin )
+ if ( (v->domain->domain_id == 0) && ( opt_dom0_vcpus_pin || opt_cpufreq ) )
return -EINVAL;
cpus_and(online_affinity, *affinity, cpu_online_map);
diff -r 256160ff19b7 xen/include/pub...
2011 Dec 20
0
sedf: remove useless tracing printk and harmonize comments style.
...%i.%i (deadl= %"PRIu64") to runq\n",
- v->domain->domain_id, v->vcpu_id, EDOM_INFO(v)->deadl_abs);
list_insert_sort(RUNQ(v->processor), LIST(v), runq_comp);
}
@@ -445,22 +401,21 @@ static int sedf_pick_cpu(const struct sc
return cpumask_first(&online_affinity);
}
-/*
- * Handles the rescheduling & bookkeeping of domains running in their
+
+/* Handles the rescheduling & bookkeeping of domains running in their
* guaranteed timeslice.
*/
static void desched_edf_dom(s_time_t now, struct vcpu* d)
{
struct sedf_vcpu_info* inf = EDOM_I...