search for: for_each_domain_in_cpupool

Displaying 3 results from an estimated 3 matches for "for_each_domain_in_cpupool".

2011 Nov 17
12
[PATCH] Avoid panic when adjusting sedf parameters
When using sedf scheduler in a cpupool the system might panic when setting sedf scheduling parameters for a domain. Signed-off-by: juergen.gross@ts.fujitsu.com 1 file changed, 4 insertions(+) xen/common/sched_sedf.c | 4 ++++ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2013 Mar 27
2
[PATCH] x86/S3: Restore broken vcpu affinity on resume (v3)
...achine context * and from cpupools to switch schedulers on a cpu. @@ -554,7 +586,7 @@ int cpu_disable_scheduler(unsigned int cpu) int ret = 0; c = per_cpu(cpupool, cpu); - if ( (c == NULL) || (system_state == SYS_STATE_suspend) ) + if ( c == NULL ) return ret; for_each_domain_in_cpupool ( d, c ) @@ -569,6 +601,13 @@ int cpu_disable_scheduler(unsigned int cpu) { printk("Breaking vcpu affinity for domain %d vcpu %d\n", v->domain->domain_id, v->vcpu_id); + + if (system_state == SYS_STATE_suspend)...
2011 Dec 20
0
sedf: remove useless tracing printk and harmonize comments style.
...ghts(struct cpupool *c, struct xen_domctl_scheduler_op *cmd) { struct vcpu *p; @@ -1335,7 +1260,7 @@ static int sedf_adjust_weights(struct cp return -ENOMEM; } - /* Sum across all weights. */ + /* Sum across all weights */ rcu_read_lock(&domlist_read_lock); for_each_domain_in_cpupool( d, c ) { @@ -1350,11 +1275,13 @@ static int sedf_adjust_weights(struct cp } else { - /*don''t modify domains who don''t have a weight, but sum - up the time they need, projected to a WEIGHT_PERIOD, -...