HomeFreeBSD

tmpfs: dynamically register tmpfs pager

Description

tmpfs: dynamically register tmpfs pager

Remove OBJT_SWAP_TMPFS. Move tmpfs-specific swap pager bits into
tmpfs_subr.c.

There is no longer any code to directly support tmpfs in sys/vm, most
tmpfs knowledge is shared by non-anon swap object type implementation.
The tmpfs-specific methods are provided by registered tmpfs pager, which
inherits from the swap pager.

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

Details

Provenance
kibAuthored on May 7 2021, 7:42 PM
Reviewer
markj
Differential Revision
D30168: Add KPI to dynamically register pager type
Parents
rGb730fd30b78f: vm: Add KPI to dynamically register pagers
Branches
Unknown
Tags
Unknown