Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143430488
D18731.id52518.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
478 B
Referenced Files
None
Subscribers
None
D18731.id52518.diff
View Options
Index: sys/riscv/riscv/pmap.c
===================================================================
--- sys/riscv/riscv/pmap.c
+++ sys/riscv/riscv/pmap.c
@@ -2826,6 +2826,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
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 31, 9:49 AM (5 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28112338
Default Alt Text
D18731.id52518.diff (478 B)
Attached To
Mode
D18731: Clear PGA_WRITEABLE in pmap_remove_pages().
Attached
Detach File
Event Timeline
Log In to Comment