Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2018 18:11:04 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r342654 - head/sys/i386/include
Message-ID:  <201812311811.wBVIB4AA002022@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Mon Dec 31 18:11:04 2018
New Revision: 342654
URL: https://svnweb.freebsd.org/changeset/base/342654

Log:
  More references to pmap_cold().
  
  MFC after:	3 days
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/i386/include/pmap.h

Modified: head/sys/i386/include/pmap.h
==============================================================================
--- head/sys/i386/include/pmap.h	Mon Dec 31 18:05:48 2018	(r342653)
+++ head/sys/i386/include/pmap.h	Mon Dec 31 18:11:04 2018	(r342654)
@@ -125,7 +125,7 @@
 
 /*
  * The initial number of kernel page table pages that are constructed
- * by locore must be sufficient to map vm_page_array.  That number can
+ * by pmap_cold() must be sufficient to map vm_page_array[].  That number can
  * be calculated as follows:
  *     max_phys / PAGE_SIZE * sizeof(struct vm_page) / NBPDR
  * PAE:      max_phys 16G, sizeof(vm_page) 76, NBPDR 2M, 152 page table pages.
@@ -228,7 +228,7 @@ extern pd_entry_t *IdlePTD;	/* physical address of "Id
  * a kernel page table page after the corresponding virtual addresses have
  * been promoted to a 2/4MB page mapping.
  *
- * KPTmap is first initialized by locore to support just NPKT page table
+ * KPTmap is first initialized by pmap_cold() to support just NPKT page table
  * pages.  Later, it is reinitialized by pmap_bootstrap() to allow for
  * expansion of the kernel page table.
  */



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