Page MenuHomeFreeBSD

vm_object: Modify various drivers to allocate OBJT_SWAP objects
ClosedPublic

Authored by markj on Jul 11 2022, 11:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 10, 5:25 PM
Unknown Object (File)
Fri, Aug 7, 7:08 PM
Unknown Object (File)
Fri, Aug 7, 6:29 PM
Unknown Object (File)
Thu, Aug 6, 1:56 PM
Unknown Object (File)
Thu, Aug 6, 12:57 PM
Unknown Object (File)
Jul 5 2026, 1:31 PM
Unknown Object (File)
Jul 1 2026, 12:51 AM
Unknown Object (File)
Jun 17 2026, 9:54 PM

Details

Summary

This is in preparation for removal of OBJT_DEFAULT. In particular, it
is 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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable