HomeFreeBSD

vm: rework swap_pager_status to execute in constant time

Description

vm: rework swap_pager_status to execute in constant time

The lock-protected iteration is trivially avoidable.

This removes a serialisation point from Linux binaries (which end up calling
here from the sysinfo syscall).

Details

Provenance
mjgAuthored on
Parents
rS361964: coufreq_dt: Rename DEBUG to DPRINTF
Branches
Unknown
Tags
Unknown