HomeFreeBSD

swapoff(2): add a SWAPOFF_FORCE flag

Description

swapoff(2): add a SWAPOFF_FORCE flag

The flag requests skipping the heuristic which tries to avoid leaving
system with more allocated memory than available from RAM and remanining
swap.

Reviewed by: markj
Discussed with: alc
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D33165

Details

Provenance
kibAuthored on Nov 29 2021, 4:28 PM
Reviewer
markj
Differential Revision
D33165: swapoff(8): add -f
Parents
rGa4e4132fa3bf: swapoff(2): replace special device name argument with a structure
Branches
Unknown
Tags
Unknown