svn commit: r237086 - head/sys/amd64/amd64
Alan Cox
alc at FreeBSD.org
Thu Jun 14 17:47:55 UTC 2012
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
More information about the svn-src-head
mailing list