Page MenuHomeFreeBSD

Add more lowmem predicates.
ClosedPublic

Authored by markj on Sep 21 2018, 10:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 14, 5:56 AM
Unknown Object (File)
Tue, Oct 7, 7:26 PM
Unknown Object (File)
Tue, Sep 23, 7:47 PM
Unknown Object (File)
Sep 10 2025, 7:01 AM
Unknown Object (File)
Sep 10 2025, 6:25 AM
Unknown Object (File)
Sep 1 2025, 12:00 AM
Unknown Object (File)
Aug 4 2025, 4:10 AM
Unknown Object (File)
Jul 26 2025, 9:44 AM
Subscribers

Details

Summary

Use these predicates instead of inline references to vm_min_domains.
Also add an all_domains set, akin to all_cpus; this can be used to check
whether all domains are below a threshold, e.g.,
vm_page_count_min(&all_domains).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/x86/acpica/srat.c
475 ↗(On Diff #48331)

Wouldn't this initialize all_domains only on x86 ?

markj marked an inline comment as done.
  • Add a static initializer for all_domains.
This revision is now accepted and ready to land.Sep 21 2018, 10:34 PM
This revision was automatically updated to reflect the committed changes.