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, Jul 16, 12:05 AM
Unknown Object (File)
Jun 19 2025, 3:08 PM
Unknown Object (File)
Jun 18 2025, 7:13 AM
Unknown Object (File)
Jun 16 2025, 8:03 PM
Unknown Object (File)
Jun 11 2025, 7:53 PM
Unknown Object (File)
Jun 11 2025, 2:10 AM
Unknown Object (File)
May 30 2025, 5:33 AM
Unknown Object (File)
May 13 2025, 3:06 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