HomeFreeBSD

shm: Handle swap pager allocation failures

Description

shm: Handle swap pager allocation failures

shm_alloc() can fail if swap reservation fails (i.e., vm.overcommit is
non-zero) or racct is imposing some limits on swap usage.

PR: 282994
MFC after: 2 weeks
Reviewed by: olce, kib
Differential Revision: https://reviews.freebsd.org/D47839

Details

Provenance
markjAuthored on Wed, Dec 4, 1:04 AM
Reviewer
olce
Differential Revision
D47839: shm: Handle swap pager allocation failures
Parents
rG00fce6284aaa: Revert "stress2: Use tests as the default test user."
Branches
Unknown
Tags
Unknown