Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103722743
D30875.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
505 B
Referenced Files
None
Subscribers
None
D30875.diff
View Options
diff --git a/sys/arm64/arm64/pmap.c b/sys/arm64/arm64/pmap.c
--- a/sys/arm64/arm64/pmap.c
+++ b/sys/arm64/arm64/pmap.c
@@ -5664,8 +5664,7 @@
l2 = pmap_l2(pmap, pv->pv_va);
l3 = pmap_l2_to_l3(l2, pv->pv_va);
oldl3 = pmap_load(l3);
- if (pmap_l3_valid(oldl3) &&
- (oldl3 & (ATTR_S1_AP_RW_BIT | ATTR_SW_DBM)) == ATTR_SW_DBM){
+ if ((oldl3 & (ATTR_S1_AP_RW_BIT | ATTR_SW_DBM)) == ATTR_SW_DBM){
pmap_set_bits(l3, ATTR_S1_AP(ATTR_S1_AP_RO));
pmap_invalidate_page(pmap, pv->pv_va);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 29, 12:45 PM (21 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14926926
Default Alt Text
D30875.diff (505 B)
Attached To
Mode
D30875: arm64: remove an unneeded test from pmap_clear_modify()
Attached
Detach File
Event Timeline
Log In to Comment