HomeFreeBSD

Instead of reading, validating and adjusting value of the vm.swap_async_max

Description

Instead of reading, validating and adjusting value of the vm.swap_async_max
in the main swapper work cycle, do it in the sysctl handler. This removes
extra mutex acquisition from the main cycle and makes the sysctl knob return
error on an invalid value, instead of accepting and fixing it.

Reviewed by: kib
Sponsored by: Netflix
Sponsored by: Nginx, Inc.

Details

Provenance
glebiusAuthored on
Parents
rS282352: Remove an unused variable.
Branches
Unknown
Tags
Unknown