Page MenuHomeFreeBSD

vm_pager: Remove the default pager
ClosedPublic

Authored by markj on Jul 12 2022, 4:23 PM.
Tags
None
Referenced Files
F157342651: D35790.id108062.diff
Wed, May 20, 11:46 AM
F157325442: D35790.id108247.diff
Wed, May 20, 8:42 AM
Unknown Object (File)
Tue, May 19, 9:51 AM
Unknown Object (File)
Mon, May 18, 11:48 AM
Unknown Object (File)
Mon, May 18, 11:37 AM
Unknown Object (File)
Sun, May 17, 2:24 AM
Unknown Object (File)
Thu, May 14, 5:57 PM
Unknown Object (File)
Mon, Apr 27, 7:30 AM
Subscribers

Details

Summary

No functional change intended.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46409
Build 43298: arc lint + arc unit

Event Timeline

markj requested review of this revision.Jul 12 2022, 4:23 PM
This revision is now accepted and ready to land.Jul 12 2022, 4:57 PM
kib added inline comments.
sys/vm/vm.h
93–94

I wonder if we want to keep the KBI there.

sys/vm/vm.h
93–94

Maybe replace OBJT_DEFAULT by OBJT_RESERVED?

markj marked 2 inline comments as done.
  • Add a placeholder object type to avoid renumbering the rest.
  • Redefine OBJT_DEFAULT as OBJT_SWAP. At least virtualbox creates OBJT_DEFAULT objects, but seems to require no other modification, so we can avoid breaking its build.
This revision now requires review to proceed.Jul 13 2022, 12:28 AM
This revision is now accepted and ready to land.Jul 13 2022, 6:14 AM

Modify vm_pager_init() to handle holes in the object type space.

This revision now requires review to proceed.Jul 13 2022, 3:37 PM
This revision is now accepted and ready to land.Jul 13 2022, 3:50 PM
This revision was automatically updated to reflect the committed changes.