CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2025/12/18 09:05:18

Modified files:
        sys/uvm        : uvm_pager.c uvm_pager.h uvm_pdaemon.c 
                         uvm_swap.c uvm_swap.h 

Log message:
Consolidate backing swap clusters & get rid of ugly error handling.

Stop using the "pager layer" for swapping: make the page daemon call
uvm_swap_put() directly.

Rename uvm_aio_aiodone_pages() into uvm_swap_dropcluster() and consolidate
it with the logic from uvm_pager_dropcluster().  Note that currently the
page daemon does not free pages at this stage.

Thanks to the use of an iterator to select which page needs to be recycled
from the inactive LRU there is no real reason to return the last one.
Make uvm_pager_dropcluster() clean all pages related to a given UVM object.

Tested in bulks by sthen@, reduce differences with NetBSD.

Reply via email to