Page MenuHomeFreeBSD

vm_object: speed up page collect flush
ClosedPublic

Authored by dougm on Jul 29 2024, 7:17 AM.
Tags
None
Referenced Files
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
Unknown Object (File)
Sep 18 2024, 7:42 PM
Unknown Object (File)
Sep 18 2024, 12:32 PM
Unknown Object (File)
Sep 18 2024, 1:10 AM
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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.