Page MenuHomeFreeBSD

vm: Retire vm_page_alloc_freelist{,_domain}()
ClosedPublic

Authored by alc on Jul 22 2024, 5:15 PM.
Tags
None
Referenced Files
F103051313: D46063.diff
Wed, Nov 20, 7:22 AM
Unknown Object (File)
Thu, Oct 31, 12:51 PM
Unknown Object (File)
Thu, Oct 31, 7:02 AM
Unknown Object (File)
Wed, Oct 30, 4:47 PM
Unknown Object (File)
Oct 17 2024, 6:49 AM
Unknown Object (File)
Oct 5 2024, 12:44 PM
Unknown Object (File)
Oct 5 2024, 8:34 AM
Unknown Object (File)
Oct 5 2024, 8:22 AM
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