Remove pmap_collect() when a no-op, define __HAVE_PMAP_COLLECT otherwise.
authormiod <miod@openbsd.org>
Sat, 10 Sep 2022 20:35:28 +0000 (20:35 +0000)
committermiod <miod@openbsd.org>
Sat, 10 Sep 2022 20:35:28 +0000 (20:35 +0000)
commitf88a4ea9801bf098018fd438293d6f7cf7466535
tree9f4ce799b82e16f5b62697953b42e4efb75897d9
parent22d8895c4f65cd0dbbcfcfdf4da33f5b0b4a7e5b
Remove pmap_collect() when a no-op, define __HAVE_PMAP_COLLECT otherwise.
Use that define to shunt uvm_swapout_threads(), which is a noop when
pmap_collect() does nothing.

ok mpi@
17 files changed:
sys/arch/alpha/include/pmap.h
sys/arch/amd64/amd64/pmap.c
sys/arch/arm/arm/pmap7.c
sys/arch/arm64/arm64/pmap.c
sys/arch/hppa/hppa/pmap.c
sys/arch/hppa/include/param.h
sys/arch/m88k/include/pmap.h
sys/arch/mips64/include/pmap.h
sys/arch/powerpc/powerpc/pmap.c
sys/arch/powerpc64/powerpc64/pmap.c
sys/arch/riscv64/riscv64/pmap.c
sys/arch/sh/include/pmap.h
sys/arch/sparc64/include/pmap.h
sys/arch/sparc64/sparc64/pmap.c
sys/uvm/uvm_glue.c
sys/uvm/uvm_pdaemon.c
sys/uvm/uvm_pmap.h