CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2024/11/25 06:06:25

Modified files:
        sys/uvm        : uvm_pdaemon.c uvmexp.h 

Log message:
Account for in-flight pages being written to disk when computing page shortage.

Due to its asynchronous design, on MP machines, the page daemon was generally
over swapping memory resulting in a degenerative behavior when OOM.
To prevent swapping more pages than necessary, take the amount of in-flight
pages into account when calculating the page shortage.

Tested by sthen@ and miod@. ok claudio@, tb@

Reply via email to