Page MenuHomeFreeBSD

D30875.diff
No OneTemporary

D30875.diff

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

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)

Event Timeline