Page MenuHomeFreeBSD

D16130.id44872.diff
No OneTemporary

D16130.id44872.diff

Index: amd64/amd64/pmap.c
===================================================================
--- amd64/amd64/pmap.c
+++ amd64/amd64/pmap.c
@@ -4899,6 +4899,8 @@
vm_page_aflag_set(om, PGA_REFERENCED);
CHANGE_PV_LIST_LOCK_TO_PHYS(&lock, opa);
pv = pmap_pvh_remove(&om->md, pmap, va);
+ if ((newpte & PG_MANAGED) == 0)
+ free_pv_entry(pmap, pv);
if ((om->aflags & PGA_WRITEABLE) != 0 &&
TAILQ_EMPTY(&om->md.pv_list) &&
((om->flags & PG_FICTITIOUS) != 0 ||

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 21, 9:43 PM (11 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25810355
Default Alt Text
D16130.id44872.diff (492 B)

Event Timeline