Zap anon pages mappings in uvm_anon_release() instead of in the fault handler.
authormpi <mpi@openbsd.org>
Sat, 2 Sep 2023 08:24:40 +0000 (08:24 +0000)
committermpi <mpi@openbsd.org>
Sat, 2 Sep 2023 08:24:40 +0000 (08:24 +0000)
commit4dac787cbc2b79683b8a422cfed223aaba0cea73
treec1a00e5790eeb8d6098162686fb580eb3cc12ee2
parentd91eab068aecf27ea58121798037c7f87c76976c
Zap anon pages mappings in uvm_anon_release() instead of in the fault handler.

This makes all code paths deactivating or freeing anons consistent.

No objection from the usual suspects.
sys/uvm/uvm_anon.c
sys/uvm/uvm_fault.c