[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [POWERPC][XEN] Fix infinite loop caused by hdec storm



# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 1fae74cd3963f7f07e1948cd27ebce2121e6948b
# Parent  33266be3c635d3775a4035bb52167c5b310d8296
[POWERPC][XEN] Fix infinite loop caused by hdec storm

This was the cause of the periodic hang on secondary processors that has
been holding back the submission of the SMP patch.

Signed-off-by: Amos Waterland <apw@xxxxxxxxxx>
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/arch/powerpc/time.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 33266be3c635 -r 1fae74cd3963 xen/arch/powerpc/time.c
--- a/xen/arch/powerpc/time.c   Thu Sep 14 14:20:48 2006 -0400
+++ b/xen/arch/powerpc/time.c   Thu Sep 14 22:06:15 2006 -0400
@@ -60,7 +60,7 @@ int reprogram_timer(s_time_t timeout)
     s_time_t expire;
 
     if (timeout == 0) {
-        expire = 0;
+        expire = INT_MAX;
     } else {
         s_time_t now;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.