Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2019 01:51:55 +0000 (UTC)
From:      Conrad Meyer <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r352734 - head/sys/amd64/amd64
Message-ID:  <201909260151.x8Q1ptIo068779@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



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