CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2023/09/24 12:49:29
Modified files:
sys/arch/riscv64/riscv64: pmap.c
Log message:
Drop PTE check in pmap_fault_fixup(). Since pmap_enter() doesn't
add PTE's for pages that haven't been accessed yet, the check would
skip the fixup on such pages and force us to go through uvm_fault()
just for the sake of MOD/REF bit emulation. Since we already check
the PTE descriptor, dropping the check should be safe. Doing so
gives us a nice 10% performance gain when building a kernel.
Original commit for arch/arm64/arm64/pmap.c:
date: 2021/05/16 17:41:30; author: kettenis; state: Exp; lines: +1 -8;
commitid: yBzyZzIKRLyAkuDY;
ok drahn@ kettenis@