Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148417481
D10339.1786742441.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
496 B
Referenced Files
None
Subscribers
None
D10339.1786742441.diff
View Options
Index: sys/arm64/arm64/pmap.c
===================================================================
--- sys/arm64/arm64/pmap.c
+++ sys/arm64/arm64/pmap.c
@@ -2481,6 +2481,11 @@
sva += L3_SIZE) {
l3 = pmap_load(l3p);
if (pmap_l3_valid(l3)) {
+ if ((l3 & ATTR_SW_MANAGED) &&
+ pmap_page_dirty(l3)) {
+ vm_page_dirty(PHYS_TO_VM_PAGE(l3 &
+ ~ATTR_MASK));
+ }
pmap_set(l3p, ATTR_AP(ATTR_AP_RO));
PTE_SYNC(l3p);
/* XXX: Use pmap_invalidate_range */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 14, 9:20 PM (13 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29408436
Default Alt Text
D10339.1786742441.diff (496 B)
Attached To
Mode
D10339: Do not loose dirty bits for removing PROT_WRITE on arm64.
Attached
Detach File
Event Timeline
Log In to Comment