Page MenuHomeFreeBSD

D33276.diff
No OneTemporary

D33276.diff

diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
--- a/sys/amd64/amd64/pmap.c
+++ b/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, 1:31 AM (17 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17022997
Default Alt Text
D33276.diff (834 B)

Event Timeline