svn commit: r352734 - head/sys/amd64/amd64

Conrad Meyer cem at FreeBSD.org
Thu Sep 26 01:51:56 UTC 2019


Author: cem
Date: Thu Sep 26 01:51:55 2019
New Revision: 352734
URL: https://svnweb.freebsd.org/changeset/base/352734

Log:
  amd64 pmap: Clarify largemap bootverbose message units
  
  A PML4 covers 512 gigabytes, not gigabits.  Use the typical B suffix for
  bytes.  No functional change.
  
  Sponsored by:	Dell EMC Isilon

Modified:
  head/sys/amd64/amd64/pmap.c

Modified: head/sys/amd64/amd64/pmap.c
==============================================================================
--- head/sys/amd64/amd64/pmap.c	Thu Sep 26 01:50:26 2019	(r352733)
+++ head/sys/amd64/amd64/pmap.c	Thu Sep 26 01:51:55 2019	(r352734)
@@ -1947,7 +1947,7 @@ pmap_init(void)
 	if (lm_ents > LMEPML4I - LMSPML4I + 1)
 		lm_ents = LMEPML4I - LMSPML4I + 1;
 	if (bootverbose)
-		printf("pmap: large map %u PML4 slots (%lu Gb)\n",
+		printf("pmap: large map %u PML4 slots (%lu GB)\n",
 		    lm_ents, (u_long)lm_ents * (NBPML4 / 1024 / 1024 / 1024));
 	if (lm_ents != 0) {
 		large_vmem = vmem_create("large", LARGEMAP_MIN_ADDRESS,


More information about the svn-src-head mailing list