search for: domlist_read_lock

Displaying 7 results from an estimated 7 matches for "domlist_read_lock".

2013 Mar 27
2
[PATCH] x86/S3: Restore broken vcpu affinity on resume (v3)
...6 ++++++ 4 files changed, 52 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/acpi/power.c b/xen/arch/x86/acpi/power.c index 3c2585c..74cd371 100644 --- a/xen/arch/x86/acpi/power.c +++ b/xen/arch/x86/acpi/power.c @@ -96,7 +96,11 @@ static void thaw_domains(void) rcu_read_lock(&domlist_read_lock); for_each_domain ( d ) + { + if (system_state == SYS_STATE_resume) + restore_vcpu_affinity(d); domain_unpause(d); + } rcu_read_unlock(&domlist_read_lock); } diff --git a/xen/common/domain.c b/xen/common/domain.c index 64ee29d..590548e 100644 --- a/...
2008 Aug 06
3
[PATCH RFC] do_settime is backwards?!
...void do_settime(unsigned long secs, unsi y = do_div(x, 1000000000); spin_lock(&wc_lock); - wc_sec = _wc_sec = (u32)x; - wc_nsec = _wc_nsec = (u32)y; + wc_sec = _wc_sec = (u32)y; + wc_nsec = _wc_nsec = (u32)x; spin_unlock(&wc_lock); rcu_read_lock(&domlist_read_lock); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2011 Dec 20
0
sedf: remove useless tracing printk and harmonize comments style.
...tatic int sedf_adjust_weights(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, proj...
2012 Dec 12
2
[PATCH v7 1/2] xen: unify domain locking in domctl code
These two patches were originally part of the XSM series that I have posted, and remain prerequisites for that series. However, they are independent of the XSM changes and are a useful simplification regardless of the use of XSM. The Acked-bys on these patches were provided before rebasing them over the copyback changes in 26268:1b72138bddda, which had minor conflicts that I resolved. [PATCH
2007 May 15
3
[PATCH 1/12] Add suspend/resume to devices owned by Xen
...) + { + cur_timer = timers[i]; + break; + } + + i++; + } + + if (!cur_timer) + panic("Failed to find a usable platform timer source!!!\n"); } @@ -725,6 +805,7 @@ void do_settime(unsigned long secs, unsi rcu_read_unlock(&domlist_read_lock); } +static int on_resume; static void local_time_calibration(void *unused) { struct cpu_time *t = &this_cpu(cpu_time); @@ -872,7 +953,8 @@ void init_percpu_time(void) local_irq_save(flags); rdtscll(t->local_tsc_stamp); - now = (smp_processor_id() == 0) ? 0 : read_pl...
2011 Dec 06
57
[PATCH RFC 00/25] xen: ARMv7 with virtualization extensions
Hello everyone, this is the very first version of the patch series that introduces ARMv7 with virtualization extensions support in Xen. The series allows Xen and Dom0 to boot on a Cortex-A15 based Versatile Express simulator. See the following announce email for more informations about what we are trying to achieve, as well as the original git history: See
2012 Jan 09
39
[PATCH v4 00/25] xen: ARMv7 with virtualization extensions
Hello everyone, this is the fourth version of the patch series that introduces ARMv7 with virtualization extensions support in Xen. The series allows Xen and Dom0 to boot on a Cortex-A15 based Versatile Express simulator. See the following announce email for more informations about what we are trying to achieve, as well as the original git history: See