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)
Wed, Jun 17, 9:54 PM
Unknown Object (File)
May 20 2026, 9:36 AM
Unknown Object (File)
May 20 2026, 4:50 AM
Unknown Object (File)
May 18 2026, 11:57 PM
Unknown Object (File)
May 17 2026, 12:57 PM
Unknown Object (File)
May 11 2026, 2:01 AM
Unknown Object (File)
May 6 2026, 5:36 PM
Unknown Object (File)
May 3 2026, 6:43 AM

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