Do not consider adjacent pages when doing a CoW.
authormpi <mpi@openbsd.org>
Tue, 28 Jun 2022 10:38:55 +0000 (10:38 +0000)
committermpi <mpi@openbsd.org>
Tue, 28 Jun 2022 10:38:55 +0000 (10:38 +0000)
commit3b9e4e18a6045688c5980322a34b3085ccf120a0
tree0ba82875a7d4ee207aae38b92b40d206bfd87bb8
parent7bfa74bbb6da2894de8ba5b246100daec36c42e0
Do not consider adjacent pages when doing a CoW.

Those pages should already be entered, this speeds up CoW faults.

Stolen from NetBSD.

ok miod@, kettenis@
sys/uvm/uvm_fault.c