Page MenuHomeFreeBSD

vm_object: speed up page collect flush
ClosedPublic

Authored by dougm on Jul 29 2024, 7:17 AM.
Tags
None
Referenced Files
F109943615: D46173.diff
Tue, Feb 11, 1:05 PM
Unknown Object (File)
Sun, Feb 9, 7:59 AM
Unknown Object (File)
Sat, Feb 8, 11:58 PM
Unknown Object (File)
Nov 24 2024, 11:31 PM
Unknown Object (File)
Nov 5 2024, 12:16 PM
Unknown Object (File)
Oct 6 2024, 10:34 AM
Unknown Object (File)
Sep 27 2024, 1:06 PM
Unknown Object (File)
Sep 18 2024, 11:35 PM
Subscribers

Details

Summary

vm_pageout_cluster prepares an array for passing to vm_pageout_flush by starting in the middle of a double-sized array and working out from the middle. Using the same technique in vm_object_page_collect_flush saves one loop that traverses a piece of linked list, and 80 bytes of amd64 binary code.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

dougm requested review of this revision.Jul 29 2024, 7:17 AM
dougm created this revision.
This revision is now accepted and ready to land.Jul 29 2024, 3:18 PM
This revision was automatically updated to reflect the committed changes.