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, Oct 8, 9:39 AM
Unknown Object (File)
Thu, Sep 25, 8:39 AM
Unknown Object (File)
Fri, Sep 19, 12:06 AM
Unknown Object (File)
Wed, Sep 17, 4:56 AM
Unknown Object (File)
Wed, Sep 17, 12:37 AM
Unknown Object (File)
Sep 15 2025, 7:53 AM
Unknown Object (File)
Sep 10 2025, 9:42 PM
Unknown Object (File)
Sep 10 2025, 4:59 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