Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2012 17:47:54 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r237086 - head/sys/amd64/amd64
Message-ID:  <201206141747.q5EHlsbJ009399@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Thu Jun 14 17:47:54 2012
New Revision: 237086
URL: http://svn.freebsd.org/changeset/base/237086

Log:
  Update a couple comments to reflect r235598.
  
  X-MFC after:	r235598

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

Modified: head/sys/amd64/amd64/pmap.c
==============================================================================
--- head/sys/amd64/amd64/pmap.c	Thu Jun 14 17:40:49 2012	(r237085)
+++ head/sys/amd64/amd64/pmap.c	Thu Jun 14 17:47:54 2012	(r237086)
@@ -2373,7 +2373,7 @@ pmap_pv_promote_pde(pmap_t pmap, vm_offs
 	 * Transfer the first page's pv entry for this mapping to the
 	 * 2mpage's pv list.  Aside from avoiding the cost of a call
 	 * to get_pv_entry(), a transfer avoids the possibility that
-	 * get_pv_entry() calls pmap_collect() and that pmap_collect()
+	 * get_pv_entry() calls pmap_pv_reclaim() and that pmap_pv_reclaim()
 	 * removes one of the mappings that is being promoted.
 	 */
 	m = PHYS_TO_VM_PAGE(pa);
@@ -2588,7 +2588,7 @@ pmap_demote_pde(pmap_t pmap, pd_entry_t 
 	/*
 	 * Demote the pv entry.  This depends on the earlier demotion
 	 * of the mapping.  Specifically, the (re)creation of a per-
-	 * page pv entry might trigger the execution of pmap_collect(),
+	 * page pv entry might trigger the execution of pmap_pv_reclaim(),
 	 * which might reclaim a newly (re)created per-page pv entry
 	 * and destroy the associated mapping.  In order to destroy
 	 * the mapping, the PDE must have already changed from mapping



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