Page MenuHomeFreeBSD

D21013.diff
No OneTemporary

D21013.diff

Index: head/sys/arm64/arm64/pmap.c
===================================================================
--- head/sys/arm64/arm64/pmap.c
+++ head/sys/arm64/arm64/pmap.c
@@ -3361,7 +3361,7 @@
CHANGE_PV_LIST_LOCK_TO_PHYS(&lock, pa);
TAILQ_INSERT_TAIL(&m->md.pv_list, pv, pv_next);
m->md.pv_gen++;
- if ((new_l3 & ATTR_AP_RW_BIT) == ATTR_AP(ATTR_AP_RW))
+ if ((new_l3 & ATTR_SW_DBM) != 0)
vm_page_aflag_set(m, PGA_WRITEABLE);
}
@@ -3554,7 +3554,7 @@
va, pmap);
return (KERN_RESOURCE_SHORTAGE);
}
- if ((new_l2 & ATTR_AP_RW_BIT) == ATTR_AP(ATTR_AP_RW))
+ if ((new_l2 & ATTR_SW_DBM) != 0)
for (mt = m; mt < &m[L2_SIZE / PAGE_SIZE]; mt++)
vm_page_aflag_set(mt, PGA_WRITEABLE);
}

File Metadata

Mime Type
text/plain
Expires
Fri, Aug 28, 10:33 AM (16 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37449460
Default Alt Text
D21013.diff (718 B)

Event Timeline