As noted in the "Call uvm_grow() on powerpc64" mail, arm64 doesn't
call it either. Diff below fixes that.
ok?
Index: arch/arm64/arm64/trap.c
===================================================================
RCS file: /cvs/src/sys/arch/arm64/arm64/trap.c,v
retrieving revision 1.30
diff -u -p -r1.30 trap.c
--- arch/arm64/arm64/trap.c 14 Sep 2020 19:44:01 -0000 1.30
+++ arch/arm64/arm64/trap.c 24 Sep 2020 21:26:15 -0000
@@ -144,6 +144,8 @@ data_abort(struct trapframe *frame, uint
if (!pmap_fault_fixup(map->pmap, va, access_type, 1)) {
KERNEL_LOCK();
error = uvm_fault(map, va, ftype, access_type);
+ if (error == 0)
+ uvm_grow(p, va);
KERNEL_UNLOCK();
}
} else {