Page MenuHomeFreeBSD

D33276.id99489.diff
No OneTemporary

D33276.id99489.diff

Index: sys/amd64/amd64/pmap.c
===================================================================
--- sys/amd64/amd64/pmap.c
+++ sys/amd64/amd64/pmap.c
@@ -6140,7 +6140,7 @@
if (mpte != NULL) {
KASSERT(mpte->valid == VM_PAGE_BITS_ALL,
("pmap_remove_pde: pte page not promoted"));
- pmap_resident_count_adj(pmap, -1);
+ pmap_pt_page_count_adj(pmap, -1);
KASSERT(mpte->ref_count == NPTEPG,
("pmap_remove_pde: pte page ref count error"));
mpte->ref_count = 0;
@@ -8408,7 +8408,7 @@
if (mpte != NULL) {
KASSERT(mpte->valid == VM_PAGE_BITS_ALL,
("pmap_remove_pages: pte page not promoted"));
- pmap_resident_count_adj(pmap, -1);
+ pmap_pt_page_count_adj(pmap, -1);
KASSERT(mpte->ref_count == NPTEPG,
("pmap_remove_pages: pte page reference count error"));
mpte->ref_count = 0;

File Metadata

Mime Type
text/plain
Expires
Fri, Mar 7, 8:18 AM (15 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17028265
Default Alt Text
D33276.id99489.diff (866 B)

Event Timeline