CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]  2016/04/12 10:47:33

Modified files:
        sys/uvm        : uvm_amap.c 

Log message:
Simplify amap traversal in amap_swap_off.

There's no need to insert marker elements to find the next item in the
amap list. The next amap can be determined by looking at the currently
examined amap.

Care must be taken to get the next element before the current amap is
possibly deleted, and after all the current amap's pages were read in
from swap (because the page-in may sleep and remove items from the amap
list).

Reply via email to