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
F175358411: D22651.diff
Sat, Oct 10, 6:41 AM
Unknown Object (File)
Tue, Sep 29, 11:11 AM
Unknown Object (File)
Tue, Sep 29, 10:59 AM
Unknown Object (File)
Tue, Sep 29, 10:56 AM
Unknown Object (File)
Tue, Sep 29, 10:54 AM
Unknown Object (File)
Sat, Sep 26, 1:10 AM
Unknown Object (File)
Sat, Sep 12, 6:07 PM
Unknown Object (File)
Sep 8 2026, 8:24 PM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Dec 3 2019, 9:26 PM
sys/vm/vm_swapout.c
238 ↗(On Diff #65174)

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