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

[XenPPC] [xenppc-unstable] [POWERPC][XEN] Fix infinite loop caused by hdec storm



# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 4490f6744b286d62fec3d0792ba5a44db114153b
# Parent  c94df1e4e62c7ab04faf05c8c5586f050f6513fd
[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>
---
 xen/arch/powerpc/time.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r c94df1e4e62c -r 4490f6744b28 xen/arch/powerpc/time.c
--- a/xen/arch/powerpc/time.c   Thu Sep 14 15:43:38 2006 -0500
+++ 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-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel


 


Rackspace

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