|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [linux-2.6.18-xen] Skip vcpu_hotplug for VCPU 0 in smp_r
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1238582581 -3600
# Node ID 67a7ffcc50679d134e6079c738c63049d6314add
# Parent b358ebf1c41664c7a7cf5b33feb5df779631229f
Skip vcpu_hotplug for VCPU 0 in smp_resume.
This function can occasionally take up to 2 seconds to complete,
and smp_suspend also skips VCPU 0.
Signed-off-by: Brendan Cully <brendan@xxxxxxxxx>
---
drivers/xen/core/cpu_hotplug.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
diff -r b358ebf1c416 -r 67a7ffcc5067 drivers/xen/core/cpu_hotplug.c
--- a/drivers/xen/core/cpu_hotplug.c Tue Mar 31 12:01:50 2009 +0100
+++ b/drivers/xen/core/cpu_hotplug.c Wed Apr 01 11:43:01 2009 +0100
@@ -144,8 +144,11 @@ void smp_resume(void)
{
unsigned int cpu;
- for_each_possible_cpu(cpu)
+ for_each_possible_cpu(cpu) {
+ if (cpu == 0)
+ continue;
vcpu_hotplug(cpu);
+ }
}
int cpu_up_check(unsigned int cpu)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [linux-2.6.18-xen] Skip vcpu_hotplug for VCPU 0 in smp_resume.,
Xen patchbot-linux-2.6.18-xen <=
|
|
|
|
|