Remove a micro optimization to free pages in batch in amap_wipeout().
authormpi <mpi@openbsd.org>
Wed, 17 Apr 2024 13:17:31 +0000 (13:17 +0000)
committermpi <mpi@openbsd.org>
Wed, 17 Apr 2024 13:17:31 +0000 (13:17 +0000)
commit10d0dcdc6486742d3213609cb91a04a8fabb700b
treebf585e9cfefc2af55b85a28f037b4b0d39ca25e0
parent52feabc5fb30a7383597a410b90913a34940c81d
Remove a micro optimization to free pages in batch in amap_wipeout().

The contention on uvm_lock_fpageq() is now reduced by using per-CPU caches,
so we want to put pages on the cache and not give them back directly to the
allocator.

ok kettenis@
sys/uvm/uvm_amap.c