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
F86845919: D35779.id108043.diff
Wed, Jun 26, 12:01 PM
F86845713: D35779.id108050.diff
Wed, Jun 26, 11:56 AM
Unknown Object (File)
Mon, Jun 17, 3:37 PM
Unknown Object (File)
Sat, Jun 8, 5:42 AM
Unknown Object (File)
Sat, Jun 8, 5:42 AM
Unknown Object (File)
Sat, Jun 8, 5:42 AM
Unknown Object (File)
Sat, Jun 8, 5:29 AM
Unknown Object (File)
May 19 2024, 4:41 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