Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2011 07:11:36 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r221686 - user/avg/xcpu/sys/amd64/amd64
Message-ID:  <201105090711.p497BaMq081014@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Mon May  9 07:11:35 2011
New Revision: 221686
URL: http://svn.freebsd.org/changeset/base/221686

Log:
  increase how long we wait for BSP to become active, amd64 only

Modified:
  user/avg/xcpu/sys/amd64/amd64/vm_machdep.c

Modified: user/avg/xcpu/sys/amd64/amd64/vm_machdep.c
==============================================================================
--- user/avg/xcpu/sys/amd64/amd64/vm_machdep.c	Mon May  9 07:11:01 2011	(r221685)
+++ user/avg/xcpu/sys/amd64/amd64/vm_machdep.c	Mon May  9 07:11:35 2011	(r221686)
@@ -548,7 +548,7 @@ cpu_reset()
 			cpustop_hook = cpu_reset_proxy;
 
 			cnt = 0;
-			while (cpu_reset_proxy_active == 0 && cnt < 10000000)
+			while (cpu_reset_proxy_active == 0 && cnt < 100000000)
 				cnt++;	/* Wait for BSP to announce restart */
 			if (cpu_reset_proxy_active == 0)
 				printf("cpu_reset: Failed to restart BSP\n");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105090711.p497BaMq081014>