CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2023/12/13 11:26:41

Modified files:
        sys/arch/riscv64/include: pmap.h 
        sys/arch/riscv64/riscv64: pmap.c 

Log message:
Implement per-CPU caching for the page table page (vp) pool and the PTE
descriptor (pted) pool in the [riscv64] pmap implementation.  This
significantly reduces the side-effects of lock contention on the kernel
map lock that is (incorrectly) translated into excessive page daemon
wakeups.  This is not a perfect solution but it does lead to significant
speedups [on the Hifive Unmatched]

Improvement and commit message adapted from kettenis' rev 1.110 commit
to arm64/pmap.c.  ok phessler@ kettenis@

Reply via email to