Page MenuHomeFreeBSD

D18731.1794800505.diff
No OneTemporary

Authored By
Unknown
Size
493 B
Referenced Files
None
Subscribers
None

D18731.1794800505.diff

Index: head/sys/riscv/riscv/pmap.c
===================================================================
--- head/sys/riscv/riscv/pmap.c
+++ head/sys/riscv/riscv/pmap.c
@@ -2754,6 +2754,9 @@
pmap_resident_count_dec(pmap, 1);
TAILQ_REMOVE(&m->md.pv_list, pv, pv_next);
m->md.pv_gen++;
+ if (TAILQ_EMPTY(&m->md.pv_list) &&
+ (m->aflags & PGA_WRITEABLE) != 0)
+ vm_page_aflag_clear(m, PGA_WRITEABLE);
pmap_unuse_l3(pmap, pv->pv_va, ptepde, &free);
freed++;

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 16, 3:41 AM (4 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41758133
Default Alt Text
D18731.1794800505.diff (493 B)

Event Timeline