Page MenuHomeFreeBSD

Add a helper function to the swapout daemon's deactivation code.
ClosedPublic

Authored by markj on Dec 3 2019, 8:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 20, 10:05 PM
Unknown Object (File)
Nov 19 2025, 7:53 PM
Unknown Object (File)
Nov 11 2025, 12:35 AM
Unknown Object (File)
Nov 8 2025, 6:00 PM
Unknown Object (File)
Nov 6 2025, 2:50 AM
Unknown Object (File)
Nov 5 2025, 12:54 AM
Unknown Object (File)
Nov 5 2025, 12:52 AM
Unknown Object (File)
Nov 5 2025, 12:51 AM
Subscribers

Details

Summary

vm_swapout_object_deactivate_pages() is renamed to
vm_swapout_object_deactivate(), and the loop body is moved into the new
vm_swapout_object_deactivate_page(). This makes the code a bit easier
to follow and is in preparation for some functional changes.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27939
Build 26105: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Dec 3 2019, 9:26 PM
sys/vm/vm_swapout.c
238

bool?

Rename remove_mode and convert it to a bool.

This revision now requires review to proceed.Dec 4 2019, 4:11 PM
This revision is now accepted and ready to land.Dec 4 2019, 10:56 PM