summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2012-06-14 17:47:54 +0000
committeralc <alc@FreeBSD.org>2012-06-14 17:47:54 +0000
commit2038da6f9aef084ae064fb640d6defb95e7e799e (patch)
tree155456df08722483ded58f21307e93b2ef37a7e4 /sys/amd64
parent06117384c5184a96a1a0b9aee1c0985612fb6a38 (diff)
downloadFreeBSD-src-2038da6f9aef084ae064fb640d6defb95e7e799e.zip
FreeBSD-src-2038da6f9aef084ae064fb640d6defb95e7e799e.tar.gz
Update a couple comments to reflect r235598.
X-MFC after: r235598
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index b7b8c2b..fbd247b 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -2373,7 +2373,7 @@ pmap_pv_promote_pde(pmap_t pmap, vm_offset_t va, vm_paddr_t pa)
* 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 *pde, vm_offset_t va)
/*
* 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
OpenPOWER on IntegriCloud