CVSROOT: /cvs Module name: src Changes by: [email protected] 2024/04/06 04:59:52
Modified files:
sys/uvm : uvm_anon.c
Log message:
Prevent accounting bug when an anon w/ swap slot is passed to uvm_anon_release()
uvm_anon_release() is always called for anon that have an associated page so
decrementing `uvmexp.swpgonly' is incorrect. This happened because the page
was cleared before calling uvm_anfree().
Reported by many including mvs@, miod@ and robert@
ok kettenis@, miod@
