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)
Sun, May 19, 4:41 AM
Unknown Object (File)
Apr 25 2024, 11:55 PM
Unknown Object (File)
Apr 25 2024, 11:55 PM
Unknown Object (File)
Apr 25 2024, 11:54 PM
Unknown Object (File)
Apr 25 2024, 1:58 PM
Unknown Object (File)
Mar 6 2024, 8:04 PM
Unknown Object (File)
Feb 19 2024, 10:44 PM
Unknown Object (File)
Jan 9 2024, 4:55 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