Page MenuHomeFreeBSD

D30643.diff
No OneTemporary

D30643.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
@@ -4573,11 +4573,8 @@
((srcptepaddr & ATTR_SW_MANAGED) == 0 ||
pmap_pv_insert_l2(dst_pmap, addr, srcptepaddr,
PMAP_ENTER_NORECLAIM, &lock))) {
- mask = ATTR_AF | ATTR_SW_WIRED;
- nbits = 0;
- if ((srcptepaddr & ATTR_SW_DBM) != 0)
- nbits |= ATTR_S1_AP_RW_BIT;
- pmap_store(l2, (srcptepaddr & ~mask) | nbits);
+ mask = ATTR_SW_WIRED;
+ pmap_store(l2, srcptepaddr & ~mask);
pmap_resident_count_inc(dst_pmap, L2_SIZE /
PAGE_SIZE);
atomic_add_long(&pmap_l2_mappings, 1);

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 17, 2:00 AM (20 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15831891
Default Alt Text
D30643.diff (653 B)

Event Timeline