HomeFreeBSD

vm_pageout: Print a more accurate message to the console before an OOM kill

Description

vm_pageout: Print a more accurate message to the console before an OOM kill

Previously we'd always print "out of swap space." This can be
misleading, as there are other reasons an OOM kill can be triggered. In
particular, it's entirely possible to trigger an OOM kill on a system
with plenty of free swap space.

Reviewed by: kib
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 4a864f624a7097f1d032a0350ac70fa6c371179e)

Details

Provenance
markjAuthored on Jan 14 2022, 8:03 PM
Parents
rG19624b4c6b67: rtld.1: Fix misplaced text
Branches
Unknown
Tags
Unknown