CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]  2026/06/18 07:14:26

Modified files:
        sys/uvm        : uvm_amap.c 

Log message:
sys/uvm: fix amap lock order during swapoff

amap_wipeout() removed the amap from the global list while holding
amap->am_lock. swapoff walks that list as amaplstlk -> amaplk, while the
last unref path could establish the reverse order through
amap_wipeout(), producing a witness lock order reversal when disabling
swap.

OK: renaud@

Reply via email to