HomeFreeBSD

vm_object: Modify various drivers to allocate OBJT_SWAP objects

Description

vm_object: Modify various drivers to allocate OBJT_SWAP objects

This is in preparation for removal of OBJT_DEFAULT. In particular, it
is now cheap to check whether an OBJT_SWAP object has any swap blocks
allocated, so the benefit of having a separate OBJT_DEFAULT type is
quite marginal, and the OBJT_DEFAULT->SWAP transition is a source of
bugs.

Reviewed by: alc, hselasky, kib
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 6b38974085215bcd787be0d138411ec57cf0096e)

Details

Provenance
markjAuthored on Jul 12 2022, 12:51 PM
Parents
rG71c5394f6814: cuse(3): Make some clarifications in the manual page.
Branches
Unknown
Tags
Unknown