svn commit: r241850 - in head/sys: amd64/amd64 i386/i386 pc98/pc98

Eitan Adler eadler at FreeBSD.org
Mon Oct 22 03:16:40 UTC 2012


Author: eadler
Date: Mon Oct 22 03:16:39 2012
New Revision: 241850
URL: http://svn.freebsd.org/changeset/base/241850

Log:
  Explain the upcoming delay by printing a message when the kernel
  is about to begin testing memory.
  
  Reviewed by:	dteske, adri
  Approved by:	cperciva
  MFC after:	1 week

Modified:
  head/sys/amd64/amd64/machdep.c
  head/sys/i386/i386/machdep.c
  head/sys/pc98/pc98/machdep.c

Modified: head/sys/amd64/amd64/machdep.c
==============================================================================
--- head/sys/amd64/amd64/machdep.c	Mon Oct 22 03:16:32 2012	(r241849)
+++ head/sys/amd64/amd64/machdep.c	Mon Oct 22 03:16:39 2012	(r241850)
@@ -1532,6 +1532,8 @@ getmemsize(caddr_t kmdp, u_int64_t first
 			if (memtest == 0)
 				goto skip_memtest;
 
+			printf("testing memory...\n");
+
 			/*
 			 * map page into kernel: valid, read/write,non-cacheable
 			 */

Modified: head/sys/i386/i386/machdep.c
==============================================================================
--- head/sys/i386/i386/machdep.c	Mon Oct 22 03:16:32 2012	(r241849)
+++ head/sys/i386/i386/machdep.c	Mon Oct 22 03:16:39 2012	(r241850)
@@ -2459,6 +2459,8 @@ physmap_done:
 			if (memtest == 0)
 				goto skip_memtest;
 
+			printf("testing memory...\n");
+
 			/*
 			 * map page into kernel: valid, read/write,non-cacheable
 			 */

Modified: head/sys/pc98/pc98/machdep.c
==============================================================================
--- head/sys/pc98/pc98/machdep.c	Mon Oct 22 03:16:32 2012	(r241849)
+++ head/sys/pc98/pc98/machdep.c	Mon Oct 22 03:16:39 2012	(r241850)
@@ -2042,6 +2042,8 @@ getmemsize(int first)
 			if (memtest == 0)
 				goto skip_memtest;
 
+			printf("testing memory...\n");
+
 			/*
 			 * map page into kernel: valid, read/write,non-cacheable
 			 */


More information about the svn-src-all mailing list