CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]  2026/08/08 11:38:45

Modified files:
        sys/uvm        : uvm_amap.c 

Log message:
sys/uvm: unwind failed amap copies

A PR_NOWAIT chunk allocation in amap_copy() may fail after earlier
chunks already contain copied anons; amap_free() requires an empty amap,
so direct cleanup trips its diagnostic assertion or leaves copied anon
references orphaned which may end who knows how.

Uuse amap_wipeout() instead to reverse the partial copy, release the
shared lock, and free the temporary amap.

OK: kettenis@

Reply via email to