Remove asynchronous read support in uvm_swap_get().
authormpi <mpi@openbsd.org>
Mon, 11 Jul 2022 11:29:11 +0000 (11:29 +0000)
committermpi <mpi@openbsd.org>
Mon, 11 Jul 2022 11:29:11 +0000 (11:29 +0000)
commit630cd361845dc15420fb935f93bc6fdc07422b7d
tree400a221ac6e92eb2c9cb0488f10b6d07ee030cac
parente9386920aa734153289c7833e31e320c25f21395
Remove asynchronous read support in uvm_swap_get().

Reading pages from swap is always done synchronously.  The fault handler
needs to sleep and PGO_SYNCIO is already asserted a couple of lines above.

ok beck@, kettenis@ as part of a larger diff.
sys/uvm/uvm_swap.c