Page MenuHomeFreeBSD

vm: Retire vm_page_alloc_freelist{,_domain}()
ClosedPublic

Authored by alc on Jul 22 2024, 5:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 20, 1:35 PM
Unknown Object (File)
Thu, May 7, 10:12 PM
Unknown Object (File)
Tue, Apr 28, 8:26 PM
Unknown Object (File)
Tue, Apr 28, 8:21 PM
Unknown Object (File)
Tue, Apr 28, 3:07 PM
Unknown Object (File)
Mon, Apr 27, 4:00 AM
Unknown Object (File)
Fri, Apr 24, 12:14 AM
Unknown Object (File)
Thu, Apr 23, 11:10 PM
Subscribers

Details

Summary

Once upon a time, I created vm_page_alloc_freelist{,_domain}() to support faster allocation of pages that were mapped by the partial direct map on 32-bit MIPS. At the time, I expected that these functions might find other uses too, but those other uses never materialized. So, these functions have not been used for some time now. Instead, people use the more general vm_page_alloc_contig().

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

alc requested review of this revision.Jul 22 2024, 5:15 PM
alc created this revision.

The removed functions are also documented in share/man/man9/vm_page_alloc.9 (and have MLINKS in share/man/man9/Makefile).

This revision is now accepted and ready to land.Jul 23 2024, 6:41 AM