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)
Sat, Feb 1, 1:00 AM
Unknown Object (File)
Wed, Jan 29, 11:37 AM
Unknown Object (File)
Tue, Jan 28, 12:20 PM
Unknown Object (File)
Jan 23 2025, 6:26 PM
Unknown Object (File)
Jan 18 2025, 9:49 PM
Unknown Object (File)
Dec 14 2024, 9:52 AM
Unknown Object (File)
Nov 22 2024, 4:19 AM
Unknown Object (File)
Nov 17 2024, 1:57 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