Page MenuHomeFreeBSD

D16130.diff
No OneTemporary

D16130.diff

Index: head/sys/amd64/amd64/pmap.c
===================================================================
--- head/sys/amd64/amd64/pmap.c
+++ head/sys/amd64/amd64/pmap.c
@@ -4900,6 +4900,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:36 PM (19 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25809020
Default Alt Text
D16130.diff (519 B)

Event Timeline