HomeFreeBSD

Make swap_pager_freespace() global

Description

Make swap_pager_freespace() global

also make it return the count of the swap pages freed, which are not
simultaneously resident in the object.

Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D37097

Details

Provenance
kibAuthored on Oct 26 2022, 10:13 PM
Reviewer
markj
Differential Revision
D37097: tmpfs: for used pages, account really allocated pages, instead of file sizes
Parents
rG83aff0f08c52: Add 'show tmpfs' ddb command
Branches
Unknown
Tags
Unknown