CVSROOT: /cvs Module name: src Changes by: [email protected] 2024/11/20 15:25:38
Modified files:
sys/arch/riscv64/riscv64: pmap.c
Log message:
The buffer flipper (incorrectly?) uses pmap_copy_page() from interrupt
context (when it calls uvm_pagerealloc_multi()). But the current
implementation of pmap_copy_page() assumes it only runs in process context.
Use splbio() to block the interrupts while we're doing the copy.
Same diff as the one committed to arm64 a bit over a week ago.
ok mpi@, jca@
